[FFmpeg-cvslog] ffmpeg: reset top_field_first in opt_input_file().

Michael Niedermayer git at videolan.org
Tue May 17 16:57:56 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 17 16:48:39 2011 +0200| [a4b6000b00850f74fabc06f673da49331d5fdf5d] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a4b6000b00850f74fabc06f673da49331d5fdf5d
---

 ffmpeg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 6ab6b99..ca44c82 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3456,6 +3456,7 @@ static void opt_input_file(const char *filename)
     nb_input_files++;
 
     video_channel = 0;
+    top_field_first = -1;
 
     av_freep(&video_codec_name);
     av_freep(&audio_codec_name);



More information about the ffmpeg-cvslog mailing list