mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
aa73ac8db8
The d_video->pts field was a bit strange. The code overwrote it multiple times (on decoding, on filtering, then once again...), and it wasn't really clear what purpose this field had exactly. Replace it with the mpctx->video_next_pts field, which is relatively unambiguous. Move the decreasing PTS check to dec_video.c. This means it acts on decoder output, not on filter output. (Just like in the previous commit, assume the filter chain is sane.) Drop the jitter vs. reset semantics; the dec_video.c determined PTS never goes backwards, and demuxer timestamps don't "jitter". |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
lavc_dr1.c | ||
lavc.h | ||
vaapi.c | ||
vd_lavc.c | ||
vd.h | ||
vda.c | ||
vdpau_old.c | ||
vdpau.c |