1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/video/decode
wm4 aa73ac8db8 video: replace d_video->pts field, change PTS jump checks
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".
2013-11-27 21:14:39 +01:00
..
dec_video.c video: replace d_video->pts field, change PTS jump checks 2013-11-27 21:14:39 +01:00
dec_video.h video: replace d_video->pts field, change PTS jump checks 2013-11-27 21:14:39 +01:00
lavc_dr1.c Attempt to fix build on older libavcodec versions 2013-11-23 22:08:18 +01:00
lavc.h video: move handling of container vs. stream AR out of vd_lavc.c 2013-11-23 21:40:51 +01:00
vaapi.c video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00
vd_lavc.c video: refactor PTS code, add fall back heuristic to DTS 2013-11-27 21:14:39 +01:00
vd.h cosmetics: rename video/audio reset functions 2013-11-27 21:14:39 +01:00
vda.c
vdpau_old.c Attempt to fix build on older libavcodec versions 2013-11-23 22:08:18 +01:00
vdpau.c video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00