vo_gl: add "backend" suboption to select x11/sdl etc backend
commitec690f032839d5148bf8efefd64313601ddb0c66
authorwm4 <wm4@mplayer2.org>
Sun, 18 Dec 2011 19:02:31 +0000 (18 20:02 +0100)
committerUoti Urpala <uau@mplayer2.org>
Thu, 6 Sep 2012 16:20:51 +0000 (6 19:20 +0300)
tree31c4fa3ec806abd61e9070af9c66aa40b79f2cff
parentdae48d3cb249549cbe5e6d3d18341f6a4940c93d
vo_gl: add "backend" suboption to select x11/sdl etc backend

Add new "backend" suboption that allows selecting the display
backend used by vo_gl. Normally, it's auto-selected, but sometimes
it's desireable to explicitly select it.

Remove the gl_sdl VO. SDL backend can now be selected with
--vo=gl:backend=sdl

This is based on svn commit 34438, and tries to be compatible with it.
The undocumented numeric backend names serve this purpose. (They are
undocumented because names are preferred.)
libvo/gl_common.c
libvo/gl_common.h
libvo/video_out.c
libvo/vo_gl.c