Skip to content
Snippets Groups Projects
Commit 738ebb4a authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffmpeg: set VCFR when copying timestamps


This fixes unreasonable initial frame repeats
Fixes Ticket3176

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 0075a22f
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment