summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 20:40:07 +0100
committerwm4 <wm4@nowhere>2013-02-26 01:55:52 +0100
commit05f76c63d5c8440c9f9dfc5bb6409e9a0c6f9f55 (patch)
treef38ecb06a42eb9f3dabf964130385534c8f25ae0
parenta40a12dfaa9abee871665bb65cf82c22975d847c (diff)
downloadmpv-05f76c63d5c8440c9f9dfc5bb6409e9a0c6f9f55.tar.bz2
mpv-05f76c63d5c8440c9f9dfc5bb6409e9a0c6f9f55.tar.xz
gl_common: remove compatibility aliases for backend sub-option
The backend sub-option for vo_opengl and vo_opengl-old accepted numeric values (like -1, 0, ...) for compatibility with MPlayer. This was added in mplayer2 times, and is not important anymore.
-rw-r--r--video/out/gl_common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 38bd89b21d..55e1b5ecb4 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -1308,12 +1308,6 @@ static struct backend backends[] = {
{"cocoa", GLTYPE_COCOA},
{"win", GLTYPE_W32},
{"x11", GLTYPE_X11},
- // mplayer-svn aliases (note that mplayer-svn couples these with the numeric
- // values of the internal GLTYPE_* constants)
- {"-1", GLTYPE_AUTO},
- { "0", GLTYPE_W32},
- { "1", GLTYPE_X11},
-
{0}
};