summaryrefslogtreecommitdiffstats
path: root/options/options.c
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 /options/options.c
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 'options/options.c')
-rw-r--r--options/options.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/options/options.c b/options/options.c
index 7c04342384..51d2c5ca82 100644
--- a/options/options.c
+++ b/options/options.c
@@ -521,8 +521,6 @@ const m_option_t mp_opts[] = {
// a-v sync stuff:
OPT_FLAG("correct-pts", correct_pts, 0),
- OPT_CHOICE("pts-association-mode", user_pts_assoc_mode, 0,
- ({"auto", 0}, {"decoder", 1}, {"sort", 2})),
OPT_FLAG("initial-audio-sync", initial_audio_sync, 0),
OPT_CHOICE("video-sync", video_sync, 0,
({"audio", VS_DEFAULT},
@@ -754,7 +752,6 @@ const struct MPOpts mp_default_opts = {
.edition_id = -1,
.default_max_pts_correction = -1,
.correct_pts = 1,
- .user_pts_assoc_mode = 1,
.initial_audio_sync = 1,
.frame_dropping = 1,
.term_osd = 2,