1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/video/decode
wm4 b4804a4b26 video: fix base for --no-correct-pts
Use the first encountered packet PTS/DTS as base, instead of the last
one. This does not add the amount of frames buffered in the codec to the
PTS offset, and thus is better.

Also, don't add the frame time if there was no decoded frame yet. The
first frame should obviously have the timestamp of the first packet
(going by this heuristic).
2015-10-06 18:19:20 +02:00
..
dec_video.c video: fix base for --no-correct-pts 2015-10-06 18:19:20 +02:00
dec_video.h video: fix base for --no-correct-pts 2015-10-06 18:19:20 +02:00
dxva2.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
lavc.h vd_lavc: better hwdec log output 2015-09-02 23:33:13 +02:00
rpi.c vd_lavc: remove unneeded hwdec parameters 2015-08-19 21:33:18 +02:00
vaapi.c vaapi: remove dependency on X11 2015-09-27 21:33:15 +02:00
vd_lavc.c video: remove codec delay estimation 2015-10-03 22:10:44 +02:00
vd.h video: remove codec delay estimation 2015-10-03 22:10:44 +02:00
vdpau.c vd_lavc: remove unneeded hwdec parameters 2015-08-19 21:33:18 +02:00
videotoolbox.c vd_lavc: remove unneeded hwdec parameters 2015-08-19 21:33:18 +02:00