avconv: actually set InputFile.rate_emu
authorAnton Khirnov <anton@khirnov.net>
Thu, 22 Sep 2011 09:10:00 +0000 (11:10 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 23 Sep 2011 08:04:44 +0000 (10:04 +0200)
avconv.c

index 74120c8..fb744bd 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -2900,6 +2900,7 @@ static int opt_input_file(OptionsContext *o, const char *opt, const char *filena
     input_files[nb_input_files - 1].ist_index  = nb_input_streams - ic->nb_streams;
     input_files[nb_input_files - 1].ts_offset  = o->input_ts_offset - (copy_ts ? 0 : timestamp);
     input_files[nb_input_files - 1].nb_streams = ic->nb_streams;
+    input_files[nb_input_files - 1].rate_emu   = o->rate_emu;
 
     for (i = 0; i < orig_nb_streams; i++)
         av_dict_free(&opts[i]);