[FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst
Stefano Sabatini
stefano.sabatini-lala
Sun Mar 1 18:12:19 CET 2009
On date Saturday 2009-02-28 21:42:59 +0100, Michael Niedermayer encoded:
> 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
All applied, thanks all for the reviews/comments on it.
Regards.
--
FFmpeg = Friendly Frenzy Minimalistic Philosofic Enchanting Generator
More information about the ffmpeg-devel
mailing list