diff libvo/mga_common.c @ 6311:da2dda48b7ec

add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
author pontscho
date Thu, 06 Jun 2002 07:13:57 +0000
parents 72c87b2ec779
children e9bd97d5c5cc
line wrap: on
line diff
--- a/libvo/mga_common.c	Thu Jun 06 01:45:39 2002 +0000
+++ b/libvo/mga_common.c	Thu Jun 06 07:13:57 2002 +0000
@@ -282,6 +282,7 @@
 #endif
 #ifdef VO_XMGA
   case VOCTRL_GET_PANSCAN:
+      if ( !inited || !vo_fs ) return VO_FALSE;
       return VO_TRUE;
   case VOCTRL_SET_PANSCAN:
       if ( vo_fs && ( vo_panscan != vo_panscan_amount ) )