summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-06 17:55:15 +0200
committerwm4 <wm4@nowhere>2015-10-06 18:19:20 +0200
commit8e654d3f78f95b0e3a5a41d41e1e8cafd8f365ec (patch)
tree02dd26704119721f968af19a108d2e7570286367 /video/decode/dec_video.h
parent0e245b37523c9808f91827f64f4a62812d2c733e (diff)
downloadmpv-8e654d3f78f95b0e3a5a41d41e1e8cafd8f365ec.tar.bz2
mpv-8e654d3f78f95b0e3a5a41d41e1e8cafd8f365ec.tar.xz
video: remove user-controllable PTS sorting (--pts-association-mode)
Useless. Sometimes it might be useful to make some extremely broken files work, but on the other hand --no-correct-pts is sufficient for these cases. While we still need some of the code for AVI, the "auto" mode in particular inflated the size of the code.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index 69e2a44e40..d40405afb9 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -55,14 +55,9 @@ struct dec_video {
double codec_dts;
int num_codec_dts_problems;
- // PTS sorting (obscure, non-default)
+ // PTS sorting (needed for AVI-style timestamps)
double buffered_pts[32];
int num_buffered_pts;
- double sorted_pts;
- int num_sorted_pts_problems;
- double unsorted_pts;
- int num_unsorted_pts_problems;
- int pts_assoc_mode;
// PTS or DTS of packet last read
double last_packet_pdts;