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>
This commit is contained in:
Haihao Xiang 2023-03-16 10:20:52 +08:00
parent 3ead1fe413
commit 57afccc0ef
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}