summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-16 07:11:12 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:05 +0300
commit9b06b5ed85ec28097428e7fe35631ce3a04685b5 (patch)
tree8fbb0ad6eecb1f337e153d5c6eb7fa2378b805f4 /cfg-mplayer.h
parent0d59f81e546946648dfca93da6b74479d31369bc (diff)
downloadmpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.bz2
mpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.xz
Move correct_pts to options struct
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 981a7a83ba..49b8ddccd4 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -326,8 +326,8 @@ const m_option_t mplayer_opts[]={
{"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
// a-v sync stuff:
- {"correct-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
- {"no-correct-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ FLAG_ON("correct-pts", user_correct_pts, 0),
+ FLAG_OFF("no-correct-pts", user_correct_pts, 0),
{"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
{"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
// {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},