diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-21 16:17:15 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-21 16:17:15 +0000 |
commit | 2423d041c28b37900e8e56084578fb2b2d45cdfa (patch) | |
tree | 517135bdba4c237cb440ddd0beea6846634ab2e6 | |
parent | 2eb3f24dc1fba7376c781ead9b53b392aea32c07 (diff) | |
download | mpv-2423d041c28b37900e8e56084578fb2b2d45cdfa.tar.bz2 mpv-2423d041c28b37900e8e56084578fb2b2d45cdfa.tar.xz |
Fix return value of VOCTRL_FULLSCREEN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4791 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_sdl.c | 2 | ||||
-rw-r--r-- | libvo/vo_x11.c | 1 |
2 files changed, 2 insertions, 1 deletions
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; } |