diff options
author | wm4 <wm4@nowhere> | 2013-12-12 23:44:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-12 23:46:27 +0100 |
commit | 88432b817d0ca115ff97ec76065f1dabcb5f9137 (patch) | |
tree | cc6ed4edaac7610e18ec9c393d6d5e341c7ada91 /video/decode/dec_video.c | |
parent | e66e16e691ac7bd5a70faa88259bfd9fe9ada651 (diff) | |
download | mpv-88432b817d0ca115ff97ec76065f1dabcb5f9137.tar.bz2 mpv-88432b817d0ca115ff97ec76065f1dabcb5f9137.tar.xz |
dec_video: fix handling of timestamp resets
This code tried to pass a still monotonic (even if not strictly
monotonic) PTS to the player, but as a result it remained stuck on
the PTS before a reset (since the PTS was lower).
Diffstat (limited to 'video/decode/dec_video.c')
-rw-r--r-- | video/decode/dec_video.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c index db9c318847..6cfab92798 100644 --- a/video/decode/dec_video.c +++ b/video/decode/dec_video.c @@ -361,7 +361,6 @@ struct mp_image *video_decode(struct dec_video *d_video, if (d_video->decoded_pts != MP_NOPTS_VALUE && pts <= d_video->decoded_pts) { mp_msg(MSGT_DECVIDEO, MSGL_WARN, "Non-monotonic video pts: %f <= %f\n", pts, d_video->decoded_pts); - pts = d_video->decoded_pts; } if (d_video->has_broken_packet_pts < 0) |