mirror of https://github.com/mpv-player/mpv
Fix return value of VOCTRL_FULLSCREEN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4791 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2eb3f24dc1
commit
2423d041c2
|
@ -1327,7 +1327,7 @@ static uint32_t control(uint32_t request, void *data, ...)
|
|||
set_fullmode(priv->fullmode);
|
||||
if(verbose > 1) printf("SDL: Set fullscreen mode\n");
|
||||
}
|
||||
//return VO_TRUE; // XXX what should VOCTRL_FULLSCREEN return?
|
||||
return VO_TRUE;
|
||||
}
|
||||
|
||||
return VO_NOTIMPL;
|
||||
|
|
|
@ -650,6 +650,7 @@ static uint32_t control(uint32_t request, void *data, ...)
|
|||
vo_fs_oldheight = -1;
|
||||
XSync(mDisplay, False);
|
||||
}
|
||||
return VO_TRUE;
|
||||
}
|
||||
return VO_NOTIMPL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue