summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 07:41:17 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:48:38 +0300
commit66bd120a3a8c15ee3bd7ce41e7258e8b33925864 (patch)
tree933be87b7812acd3f93dd17669857ab5d7c1302c /cfg-common-opts.h
parentc0c914effd94324362e4ca70204f1b08783f6121 (diff)
downloadmpv-66bd120a3a8c15ee3bd7ce41e7258e8b33925864.tar.bz2
mpv-66bd120a3a8c15ee3bd7ce41e7258e8b33925864.tar.xz
Move dvdsub_id to options struct
Name the field "sub_id" as it's not specific to DVD subs. Remove some other unused extern declarations together with dvdsub_id from demux_mkv.c and demux_lavf.c.
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r--cfg-common-opts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index 79971f8c26..5e3e4d0fa6 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -117,7 +117,7 @@
// select audio/video/subtitle stream
INTRANGE("aid", audio_id, 0, 8190, 0),
INTRANGE("vid", video_id, 0, 8190, 0),
- {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 8190, NULL},
+ INTRANGE("sid", sub_id, 0, 8190, 0),
FLAG_CONSTANTS("novideo", video_id, -1, -2, 0),
{ "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL },