From 05f76c63d5c8440c9f9dfc5bb6409e9a0c6f9f55 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 20:40:07 +0100 Subject: 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. --- video/out/gl_common.c | 6 ------ 1 file changed, 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} }; -- cgit v1.2.3