summaryrefslogtreecommitdiffstats
path: root/core/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-26 02:06:58 +0200
committerwm4 <wm4@nowhere>2013-07-26 02:11:34 +0200
commit3bddc16431f8d2e22b03154465e9c62bafd328f3 (patch)
tree75711353b4124a6b9efea3e75ccb882981865112 /core/options.c
parentfb67770ed697ed4898f9019640bb389f2f6f588e (diff)
downloadmpv-3bddc16431f8d2e22b03154465e9c62bafd328f3.tar.bz2
mpv-3bddc16431f8d2e22b03154465e9c62bafd328f3.tar.xz
options: simplify --correct-pts handling
Remove the (now unused) code for determining correct-pts mode based on the demuxer in use. Change its description in the manpage to reflect what this option does now.
Diffstat (limited to 'core/options.c')
-rw-r--r--core/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/options.c b/core/options.c
index 03acdc570b..dd517dbb22 100644
--- a/core/options.c
+++ b/core/options.c
@@ -648,7 +648,7 @@ const m_option_t mp_opts[] = {
OPT_INTRANGE("chapter-merge-threshold", chapter_merge_threshold, 0, 0, 10000),
// a-v sync stuff:
- OPT_FLAG("correct-pts", user_correct_pts, 0),
+ 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),
@@ -764,7 +764,7 @@ const struct MPOpts mp_default_opts = {
.chapterrange = {-1, -1},
.edition_id = -1,
.default_max_pts_correction = -1,
- .user_correct_pts = -1,
+ .correct_pts = 1,
.initial_audio_sync = 1,
.term_osd = 2,
.consolecontrols = 1,