changeset 36873:05efbb5ab47e

Add VOCTRL_GUISUPPORT. The video output driver may support it depending on sub_vo.
author ib
date Sun, 02 Mar 2014 21:12:33 +0000
parents c0004493b01b
children 33a4b27e9f29
files libvo/vo_dxr2.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr2.c	Sun Mar 02 21:10:13 2014 +0000
+++ b/libvo/vo_dxr2.c	Sun Mar 02 21:12:33 2014 +0000
@@ -931,6 +931,9 @@
   case VOCTRL_ONTOP:
     vo_x11_ontop();
     return VO_TRUE;
+  case VOCTRL_GUISUPPORT:
+    if (sub_vo) return sub_vo->control(VOCTRL_GUISUPPORT, NULL);
+    else return VO_FALSE;
   case VOCTRL_FULLSCREEN:
     if(!use_ol)
       return VO_NOTIMPL;