You've already forked FFmpeg
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:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user