History

lavfi/vf_vpp_qsv: set the right timestamp for AVERROR_EOF

Rescale the timestamp for AVERROR_EOF. This can fix tickets 10261 and 10262.

Haihao Xiang committed 3 years ago

Commit 57afccc1 parent 3ead1fe1 file · +1 −0Browse files

Unified · Split

libavfilter/vf_vpp_qsv.c+1−0
@@ -602,6 +602,7 @@ not_ready: · 601 unmodified lines
602602 return FFERROR_NOT_READY;
603603
604604 eof:
605+ pts = av_rescale_q(pts, inlink->time_base, outlink->time_base);
605606 ff_outlink_set_status(outlink, status, pts);
606607 return 0;
607608 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t