diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2023-03-16 10:20:52 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2023-03-20 09:58:41 +0800 |
commit | 57afccc0ef8d3024ffb2d1b2d25c9670b9501248 (patch) | |
tree | 77e04f8e78c7f2aef8e1e02a1b363e3bfd6d67d9 | |
parent | 3ead1fe41310066dde4e99292e8e36db1b8707d9 (diff) | |
download | ffmpeg-57afccc0ef8d3024ffb2d1b2d25c9670b9501248.tar.gz |
lavfi/vf_vpp_qsv: set the right timestamp for AVERROR_EOF
Rescale the timestamp for AVERROR_EOF. This can fix tickets 10261 and
10262.
Tested-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
-rw-r--r-- | libavfilter/vf_vpp_qsv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c index ac77f7bb4b..b4dd7a4191 100644 --- a/libavfilter/vf_vpp_qsv.c +++ b/libavfilter/vf_vpp_qsv.c @@ -602,6 +602,7 @@ not_ready: return FFERROR_NOT_READY; eof: + pts = av_rescale_q(pts, inlink->time_base, outlink->time_base); ff_outlink_set_status(outlink, status, pts); return 0; } |