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

Stefano Sabatini stefano.sabatini-lala
Sun Oct 12 11:57:00 CEST 2008


On date Friday 2008-10-10 00:37:38 +0200, Michael Niedermayer encoded:
> On Thu, Oct 09, 2008 at 09:26:59PM +0200, Stefano Sabatini wrote:
> > 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.
> 
> i object
> 
> and i always hate it when i have to rewrite your documentation "improvments"
> from scratch.
> anyway
> try
> "set the video/audio/subtitle options to the indicated presets"

As you wish, regards.
-- 
FFmpeg = Furious and Fostering Meaningful Power Extravagant Geisha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: document-ffmpeg-pre-01.patch
Type: text/x-diff
Size: 1261 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081012/e92c3c07/attachment.patch>



More information about the ffmpeg-devel mailing list