summaryrefslogtreecommitdiffstats
path: root/libvo/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-29 18:10:33 +0200
committerwm4 <wm4@nowhere>2012-10-03 03:17:53 +0200
commit3cbce1eb073670818cf9cfa0b987229e5d499aac (patch)
treee5f80aaeed0650dcc2dfca8b243ab57398830f92 /libvo/vo_opengl.c
parent7c04542e09f34d3c0b1240d47bb518e26d5aaf07 (diff)
downloadmpv-3cbce1eb073670818cf9cfa0b987229e5d499aac.tar.bz2
mpv-3cbce1eb073670818cf9cfa0b987229e5d499aac.tar.xz
VO: add mechanism to replace old VO names, use it with "gl" and "gl3"
Rather than duplicating the VO driver structs to add aliases, replace them textually when searching for the VO on initialization.
Diffstat (limited to 'libvo/vo_opengl.c')
-rw-r--r--libvo/vo_opengl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libvo/vo_opengl.c b/libvo/vo_opengl.c
index 92cc489e47..a46f60c171 100644
--- a/libvo/vo_opengl.c
+++ b/libvo/vo_opengl.c
@@ -2459,25 +2459,6 @@ const struct vo_driver video_out_opengl = {
.uninit = uninit,
};
-// short-term compatibility
-const struct vo_driver video_out_gl3 = {
- .is_new = true,
- .info = &(const vo_info_t) {
- "Extended OpenGL Renderer",
- "gl3",
- "Based on vo_gl.c by Reimar Doeffinger",
- ""
- },
- .preinit = preinit,
- .config = config,
- .control = control,
- .draw_slice = draw_slice,
- .draw_osd = draw_osd,
- .flip_page = flip_page,
- .check_events = check_events,
- .uninit = uninit,
-};
-
static const char help_text[] =
"\n--vo=opengl command line help:\n"
"Example: mplayer --vo=opengl:scale-sep:lscale=lanczos2\n"