summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 8ed4a6ca87..bf3b61eb01 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -280,6 +280,17 @@ static uint32_t control(uint32_t request, void *data, ...)
case VOCTRL_GUISUPPORT:
return VO_TRUE;
#endif
+#ifdef VO_XMGA
+ case VOCTRL_GET_PANSCAN:
+ return VO_TRUE;
+ case VOCTRL_SET_PANSCAN:
+ if ( vo_fs && ( vo_panscan != vo_panscan_amount ) )
+ {
+ panscan_calc();
+ set_window( 1 );
+ }
+ return VO_TRUE;
+#endif
}
return VO_NOTIMPL;
}