[FFmpeg-devel] [PATCH] Add preset options documentation strings

Stefano Sabatini stefano.sabatini-lala
Thu Oct 9 21:26:59 CEST 2008


On date Sunday 2008-10-05 17:32:42 +0200, Stefano Sabatini encoded:
> Hi,
> as in subject.
> 
> Regards.
> -- 
> FFmpeg = Forgiving and Foolish Multimedia Problematic Elegant Governor

> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c	(revision 15563)
> +++ ffmpeg.c	(working copy)
> @@ -3832,9 +3832,9 @@
>      { "vbsf", OPT_FUNC2 | HAS_ARG | OPT_VIDEO | OPT_EXPERT, {(void*)opt_bsf}, "", "bitstream_filter" },
>      { "sbsf", OPT_FUNC2 | HAS_ARG | OPT_SUBTITLE | OPT_EXPERT, {(void*)opt_bsf}, "", "bitstream_filter" },
>  
> -    { "apre", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_EXPERT, {(void*)opt_preset}, "", "preset" },
> -    { "vpre", OPT_FUNC2 | HAS_ARG | OPT_VIDEO | OPT_EXPERT, {(void*)opt_preset}, "", "preset" },
> -    { "spre", OPT_FUNC2 | HAS_ARG | OPT_SUBTITLE | OPT_EXPERT, {(void*)opt_preset}, "", "preset" },
> +    { "apre", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_EXPERT, {(void*)opt_preset}, "set the preset file for the audio codec", "preset" },
> +    { "vpre", OPT_FUNC2 | HAS_ARG | OPT_VIDEO | OPT_EXPERT, {(void*)opt_preset}, "set the preset file for the video codec", "preset" },
> +    { "spre", OPT_FUNC2 | HAS_ARG | OPT_SUBTITLE | OPT_EXPERT, {(void*)opt_preset}, "set the preset file for the subtitle codec", "preset" },
>  
>      { "default", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
>      { NULL, },

I'll apply this on the weekend if no one objects.

Regards.
-- 
FFmpeg = Foolish Free Minimalistic Patchable Eretic God




More information about the ffmpeg-devel mailing list