Browse code

ffmpeg: reset top_field_first in opt_input_file().

This allows seting tff for inputs without also setting it for the output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/05/17 23:48:39
Showing 1 changed files
... ...
@@ -3456,6 +3456,7 @@ static void opt_input_file(const char *filename)
3456 3456
     nb_input_files++;
3457 3457
 
3458 3458
     video_channel = 0;
3459
+    top_field_first = -1;
3459 3460
 
3460 3461
     av_freep(&video_codec_name);
3461 3462
     av_freep(&audio_codec_name);