summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-11 18:57:02 +0100
committerwm4 <wm4@nowhere>2014-01-11 18:58:07 +0100
commitad654f38036e53abbc902ffc5aae13fca61129e0 (patch)
tree333e7fbacfd21bd3a2b2d501da24b6a794d15fc2 /options/options.c
parent905029ec0c89b638792a429263bb6033eb074570 (diff)
downloadmpv-ad654f38036e53abbc902ffc5aae13fca61129e0.tar.bz2
mpv-ad654f38036e53abbc902ffc5aae13fca61129e0.tar.xz
options: remove --screenw and --screenh
Doesn't make any sense anymore. X11 (which was mentioned in the manpage) autodetects it, and everything else ignored the option values. Since for incomprehensible reasons the backends and vo.c still need to exchange information about the screensize using the option fields, they're not removed yet.
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 ca07c3d3a1..1fa6a68cfe 100644
--- a/options/options.c
+++ b/options/options.c
@@ -473,9 +473,6 @@ const m_option_t mp_opts[] = {
OPT_STRING("volume-restore-data", mixer_restore_volume_data, 0),
OPT_FLAG("gapless-audio", gapless_audio, 0),
- // set screen dimensions (when not detectable or virtual!=visible)
- OPT_INTRANGE("screenw", vo.screenwidth, CONF_GLOBAL, 0, 4096),
- OPT_INTRANGE("screenh", vo.screenheight, CONF_GLOBAL, 0, 4096),
OPT_GEOMETRY("geometry", vo.geometry, 0),
OPT_SIZE_BOX("autofit", vo.autofit, 0),
OPT_SIZE_BOX("autofit-larger", vo.autofit_larger, 0),