summaryrefslogtreecommitdiffstats
path: root/options
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
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')
-rw-r--r--options/options.c3
-rw-r--r--options/options.h1
2 files changed, 0 insertions, 4 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,
diff --git a/options/options.h b/options/options.h
index 75156043b3..8d7246e8b9 100644
--- a/options/options.h
+++ b/options/options.h
@@ -144,7 +144,6 @@ typedef struct MPOpts {
int chapterrange[2];
int edition_id;
int correct_pts;
- int user_pts_assoc_mode;
int initial_audio_sync;
int video_sync;
double sync_max_video_change;