[FFmpeg-devel] [PATCH] Reset audio_disable and video_disable for new input files

Luca Abeni lucabe72
Tue Jun 12 10:50:44 CEST 2007

Hi Michael,

Michael Niedermayer wrote:
>> Anyway, I now see that my original patch was wrong; here is a better 
>> one. The problem in current code is that it tries to reset *_disable to 
>> 0, but it does it in new_video_stream() (and new_audio_stream()), which 
>> are not called if video_disable (or audio_disable) is != 0. So, 
>> *_disable is never reset to 0. The attached patch fixes the problem.
> wont that break -newvideo with -vn ?
Sorry, I did some tests, but I probably missed the relevant "-newvideo" 
and "-vn" combination.

I'll try to address the problem in a different way.


More information about the ffmpeg-devel mailing list