summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-07 17:50:25 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-07 17:50:25 +0000
commitdf141d9d82ee5fa2eba136703c1faab70d4d49f6 (patch)
tree3548395549ccfd057a6845f9713f78867e727b93 /libvo/mga_common.c
parent83c66ac7053e671e8eb4aecba8d983d6c6b6d1b4 (diff)
downloadmpv-df141d9d82ee5fa2eba136703c1faab70d4d49f6.tar.bz2
mpv-df141d9d82ee5fa2eba136703c1faab70d4d49f6.tar.xz
rewrite fullscreen support in some libvo driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4982 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 89f779ec62..cbf137374e 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -237,6 +237,11 @@ static uint32_t control(uint32_t request, void *data, ...)
return query_format(*((uint32_t*)data));
case VOCTRL_GET_IMAGE:
return get_image(data);
+#ifdef VO_XMGA
+ case VOCTRL_FULLSCREEN:
+ vo_x11_fullscreen();
+ return VO_TRUE;
+#endif
}
return VO_NOTIMPL;
}