1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-06-30 22:24:04 +02:00

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>
(cherry picked from commit 57afccc0ef)
This commit is contained in:
Haihao Xiang
2023-03-16 10:20:52 +08:00
parent 18dde8d4cf
commit a3c93c03ad

View File

@ -602,6 +602,7 @@ not_ready:
return FFERROR_NOT_READY; return FFERROR_NOT_READY;
eof: eof:
pts = av_rescale_q(pts, inlink->time_base, outlink->time_base);
ff_outlink_set_status(outlink, status, pts); ff_outlink_set_status(outlink, status, pts);
return 0; return 0;
} }