Message ID | CAB0OVGqE8h1CyTp0FQ_JdY+wNykAR8RB1F=gy0SoDG=_B12cYQ@mail.gmail.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 6518d50..fb749c5 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -744,6 +744,7 @@ static int configure_input_video_filter InputFile *f = input_files[ist->file_index]; AVRational tb = ist->framerate.num ? av_inv_q(ist->framerate) : ist->st->time_base; +if(!ist->framerate.num)tb = ist->st->time_base; AVRational fr = ist->framerate; AVRational sar; AVBPrint args;