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

Ronald S. Bultje rsbultje
Sat Feb 28 21:00:50 CET 2009


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.

Ronald




More information about the ffmpeg-devel mailing list