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

Michael Niedermayer michaelni
Sat Feb 28 21:42:59 CET 2009


On Sat, Feb 28, 2009 at 03:00:50PM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Sat, Feb 28, 2009 at 2:49 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Sat, Feb 28, 2009 at 12:57:02AM +0100, Stefano Sabatini wrote:
> >> @@ -1987,11 +1987,11 @@
> >> ? ? ? ? ?ic->streams[i]->discard = AVDISCARD_ALL;
> >> ? ? ? ? ?switch(enc->codec_type) {
> >> ? ? ? ? ?case CODEC_TYPE_AUDIO:
> >> - ? ? ? ? ? ?if ((audio_index < 0 || wanted_audio_stream-- > 0) && !audio_disable)
> >> + ? ? ? ? ? ?if (wanted_audio_stream-- >= 0 && !audio_disable)
> >> ? ? ? ? ? ? ? ? ?audio_index = i;
> >> ? ? ? ? ? ? ?break;
> >> ? ? ? ? ?case CODEC_TYPE_VIDEO:
> >> - ? ? ? ? ? ?if ((video_index < 0 || wanted_video_stream-- > 0) && !video_disable)
> >> + ? ? ? ? ? ?if (wanted_video_stream-- >= 0 && !video_disable)
> >> ? ? ? ? ? ? ? ? ?video_index = i;
> >> ? ? ? ? ? ? ?break;
> >> ? ? ? ? ?case CODEC_TYPE_SUBTITLE:
> >
> > these require the default values to be changed to 0 or you break the code
> > entirely
> 
> They are zero.

indeed then ok

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090228/9de00466/attachment.pgp>



More information about the ffmpeg-devel mailing list