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>
pull/389/head
Haihao Xiang 2 years ago
parent 3ead1fe413
commit 57afccc0ef
  1. 1
      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;
}

Loading…
Cancel
Save