From 2423d041c28b37900e8e56084578fb2b2d45cdfa Mon Sep 17 00:00:00 2001 From: atmos4 Date: Thu, 21 Feb 2002 16:17:15 +0000 Subject: [PATCH] Fix return value of VOCTRL_FULLSCREEN git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4791 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 2 +- libvo/vo_x11.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index cbb5cf3368..f57e8e276a 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -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; diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 1d9ed03a00..0d851144b9 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -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; }