[FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst

Ronald S. Bultje rsbultje
Fri Feb 27 23:19:30 CET 2009


On Fri, Feb 27, 2009 at 4:18 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Feb 27, 2009 at 03:26:19PM -0500, Ronald S. Bultje wrote:
>> On Thu, Feb 26, 2009 at 2:43 PM, Stefano Sabatini
>> <stefano.sabatini-lala at poste.it> wrote:
>> > On date Tuesday 2009-02-24 23:50:40 +0100, Stefano Sabatini encoded:
>> >> + at item -ast @var{audio_stream_number}
>> >> +Select the desired audio stream number, counting from 1.
>> This has confused me all too often. Can we change this so it counts
>> like a regular number from 0?
> yes

that piece of code is full of crap btw, <0 for subtitles is seen as
"disable" but <0 for audio/video isn't. I added that also, which makes
the subtitle/video/audio selection code more alike. This would also
allow to remove -an/-vn at some point but that could also be done
after the release.

if you think this changes too much, I'll just apply the
"wanted_x_stream < 0" to "wanted_x_stream <= 0" *3 change.

Stefano, can you regen your documentation patch with this change taken
into account and apply that also?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffplay-fix-from-zero.patch
Type: application/octet-stream
Size: 1259 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090227/9127f1f4/attachment.obj>

More information about the ffmpeg-devel mailing list