mirror of https://github.com/mpv-player/mpv
Add -xineramascreen support to corevideo vo. Still prefer corevideo's own device_id parameter if it's set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30042 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8448c91153
commit
5f0b5dcaa9
|
@ -3142,7 +3142,7 @@ vdpau, x11, xv, xvmc).
|
|||
.br
|
||||
.I NOTE:
|
||||
This option is only supported by the x11, xmga, xv, xvmc, xvidix,
|
||||
gl, gl2, directx, fbdev and tdfxfb video output drivers.
|
||||
gl, gl2, directx, fbdev, tdfxfb and corevideo video output drivers.
|
||||
.sp 1
|
||||
.I EXAMPLE:
|
||||
.PD 0
|
||||
|
@ -3330,7 +3330,7 @@ This option is not suitable to only set the startup screen (because
|
|||
it will always display on the given screen in fullscreen mode),
|
||||
\-geometry is the best that is available for that purpose
|
||||
currently.
|
||||
Supported by at least the direct3d, gl, gl2, x11 and xv video output drivers.
|
||||
Supported by at least the direct3d, gl, gl2, x11, xv and corevideo video output drivers.
|
||||
.
|
||||
.TP
|
||||
.B \-zrbw (\-vo zr only)
|
||||
|
|
|
@ -115,6 +115,9 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigne
|
|||
|
||||
static void update_screen_info(void)
|
||||
{
|
||||
if (screen_id == -1 && xinerama_screen > -1)
|
||||
screen_id = xinerama_screen;
|
||||
|
||||
screen_array = [NSScreen screens];
|
||||
if(screen_id < (int)[screen_array count])
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue