summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-23 10:56:47 +0100
committerwm4 <wm4@nowhere>2013-01-23 10:56:47 +0100
commit704c0cb2db7d20adc5b744b9714fed60642d8e5c (patch)
treefcc52a59c605333eb759a1e53f1274161c282a70 /core/options.h
parent7885fce7ea68d4c64e034b152f2a0b08bb648adc (diff)
downloadmpv-704c0cb2db7d20adc5b744b9714fed60642d8e5c.tar.bz2
mpv-704c0cb2db7d20adc5b744b9714fed60642d8e5c.tar.xz
video: remove -x/-y/-xy options
-x/-y were rather useless and obscure. The only use I can see is forcing a specific aspect ratio without having to calculate the aspect ratio float value (although --aspect takes values of the form w:h). This can be also done with --geometry and --no-keepaspect. There was also a comment that -x/-y is useful for -vm, although I don't see how this is useful as it still messes up aspect ratio. -xy is mostly obsolete. It does two things: a) set the window width to a pixel value, b) scale the window size by a factor. a) is already done by --autofit (--autofit=num does exactly the same thing as --xy=num, if num >= 8). b) is not all that useful, so we just drop that functionality.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/options.h b/core/options.h
index 3cd0132847..d1c58fdda9 100644
--- a/core/options.h
+++ b/core/options.h
@@ -16,8 +16,6 @@ typedef struct MPOpts {
float softvol_max;
int gapless_audio;
int ao_buffersize;
- int screen_size_x;
- int screen_size_y;
int vo_screenwidth;
int vo_screenheight;
struct m_geometry vo_geometry;
@@ -110,7 +108,6 @@ typedef struct MPOpts {
float drc_level;
struct m_obj_settings *vf_settings;
float movie_aspect;
- float screen_size_xy;
int flip;
int vd_use_dr1;
char **sub_name;