projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46293e9
)
avfilter/vf_scale: don't attempt to rescale AV_NOPTS_VALUE
author
James Almer
<jamrial@gmail.com>
Wed, 24 Sep 2025 23:31:26 +0000
(20:31 -0300)
committer
James Almer
<jamrial@gmail.com>
Fri, 28 Nov 2025 01:02:55 +0000
(22:02 -0300)
Finishes fixing issue #20589.
Signed-off-by: James Almer <jamrial@gmail.com>
libavfilter/vf_scale.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_scale.c
b/libavfilter/vf_scale.c
index 3319428d9c27fa3da3211137c6c179be5a4dc88f..420dc13dc5688c68a59dfafb4242adac5736b9bd 100644
(file)
--- a/
libavfilter/vf_scale.c
+++ b/
libavfilter/vf_scale.c
@@
-1119,7
+1119,7
@@
FF_ENABLE_DEPRECATION_WARNINGS
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: