diff options
author | wm4 <wm4@nowhere> | 2016-11-09 17:51:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-09 17:51:19 +0100 |
commit | fc1017c33533d4d2e0b82cef6cbf45ca64122950 (patch) | |
tree | 821e840b40b68f6d3f1ee5780c57ccc634b738b5 /video/decode/dec_video.h | |
parent | 67467103e8c7a143c8eafda86d312dfa0c949266 (diff) | |
download | mpv-fc1017c33533d4d2e0b82cef6cbf45ca64122950.tar.bz2 mpv-fc1017c33533d4d2e0b82cef6cbf45ca64122950.tar.xz |
dec_video: don't spam missing PTS warnings
Only print at most 2. Just because with some decoders, we will always
hit this code path, such as playing avi of vfw-muxed mkv on RPI.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r-- | video/decode/dec_video.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index f7bff61c9f..1d2b3f087e 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -62,6 +62,8 @@ struct dec_video { // There was at least one packet with non-sense timestamps. int has_broken_packet_pts; // <0: uninitialized, 0: no problems, 1: broken + int has_broken_decoded_pts; + // Final PTS of previously decoded image double decoded_pts; |