[MPlayer-dev-eng] [PATCH] MNG output in manpage

Clément Bœsch ubitux at gmail.com
Fri May 27 23:24:41 CEST 2011


On Fri, May 27, 2011 at 11:10:08PM +0200, Stefan Schuermans wrote:
> Clément Bœsch wrote:
> >On Wed, May 18, 2011 at 07:53:50PM +0200, Stefan Schuermans wrote:
> >>Diego Biurrun wrote:
> >>>On Mon, May 16, 2011 at 10:01:36PM +0200, Stefan Schuermans wrote:
> >>>>--- libvo/vo_mng.c	(Revision 0)
> >>>>+++ libvo/vo_mng.c	(Revision 0)
> >>>>[...]
> >
> >Applied this version. Thank you. If you don't mind, an update of the
> >manpage would be welcome.
> 
> My experience with writing manpages is very limited so far, but I
> tried to add a small paragraph about the mng output. What dou you
> think about the patch attached?
> 
> Best regards,
> Stefan
> 

Thank you for taking care of it.

> Index: DOCS/man/en/mplayer.1
> ===================================================================
> --- DOCS/man/en/mplayer.1	(Revision 33506)
> +++ DOCS/man/en/mplayer.1	(Arbeitskopie)
> @@ -4790,8 +4790,29 @@
>  .RE
>  .PD 1
>  .
> +.TP
> +.B "mng\ "

According to the other entries, you need to do something like:

  .B "mng\ \ \ \ "

The output is affected (\n basically).

> +Output each frame into a single animated MNG file.
> +It supports only RGB format with 24 bpp.
> +The frames in the output are compressed losslessly.

Not sure if "losslessly" is particularly a good word, but I'm not a native
speaker.

> +.PD 0
> +.RSs
> +.IPs <output>
> +Specify the output filename (mandatory).
> +.REss
> +.PD 1
> +.RS
> +.sp 1
> +.I EXAMPLE:
> +.RE
> +.PD 0
> +.RSs
> +mplayer video.nut \-vo mng:output.mng
> +.RE
> +.PD 1
>  .
>  .
> +.
>  .SH "DECODING/FILTERING OPTIONS"
>  .
>  .TP
> Index: DOCS/man/de/mplayer.1
> ===================================================================
> --- DOCS/man/de/mplayer.1	(Revision 33506)
> +++ DOCS/man/de/mplayer.1	(Arbeitskopie)
> @@ -4589,8 +4589,29 @@

This part doesn't apply well here, I guess because of a wrong encoding (I
get "??" instead of the special characters), but I may be the one in
cause.

I'm not an expert of the manpage markup, but the rest looks good.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110527/4f1dfbdb/attachment.asc>


More information about the MPlayer-dev-eng mailing list