You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-10-06 05:47:18 +02:00
avfilter/vf_scale: don't attempt to rescale AV_NOPTS_VALUE
Finishes fixing issue #20589. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -951,7 +951,7 @@ static int do_scale(FFFrameSync *fs)
|
||||
goto err;
|
||||
|
||||
av_assert0(out);
|
||||
out->pts = av_rescale_q(fs->pts, fs->time_base, outlink->time_base);
|
||||
out->pts = av_rescale_q_rnd(fs->pts, fs->time_base, outlink->time_base, AV_ROUND_NEAR_INF | AV_ROUND_PASS_MINMAX);
|
||||
return ff_filter_frame(outlink, out);
|
||||
|
||||
err:
|
||||
|
Reference in New Issue
Block a user