summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index d411717a32..090b60bc1c 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -62,6 +62,9 @@ struct dec_video {
// PTS or DTS of packet last read
double last_packet_pdts;
+ // There was at least one packet with non-sense timestamps.
+ int has_broken_packet_pts; // <0: uninitialized, 0: no problems, 1: broken
+
// Final PTS of previously decoded image
double decoded_pts;