diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-28 02:28:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-28 02:28:50 +0100 |
commit | 738ebb4a0e0c8fbdc83b44cf30b8c9b7ac866270 (patch) | |
tree | 81f70da468f8cd5810577c599ad79803ab15b271 /ffmpeg.c | |
parent | 0075a22f415f7130a2fa9d81e55047a9bd18d0fa (diff) | |
download | ffmpeg-738ebb4a0e0c8fbdc83b44cf30b8c9b7ac866270.tar.gz |
ffmpeg: set VCFR when copying timestamps
This fixes unreasonable initial frame repeats
Fixes Ticket3176
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -833,6 +833,9 @@ static void do_video_out(AVFormatContext *s, && input_files[ist->file_index]->input_ts_offset == 0) { format_video_sync = VSYNC_VSCFR; } + if (format_video_sync == VSYNC_CFR && copy_ts) { + format_video_sync = VSYNC_VSCFR; + } } switch (format_video_sync) { |