Mercurial > mplayer.hg
diff libvo/vo_xvidix.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 | 86d5fc5b54e2 |
line wrap: on
line diff
--- a/libvo/vo_xvidix.c Thu Jun 06 01:45:39 2002 +0000 +++ b/libvo/vo_xvidix.c Thu Jun 06 07:13:57 2002 +0000 @@ -370,6 +370,8 @@ XSync(mDisplay, False); saver_off(mDisplay); /* turning off screen saver */ + + vo_config_count++; return(0); } @@ -430,6 +432,7 @@ static void uninit(void) { + if ( vo_config_count ) return; vidix_term(); saver_on(mDisplay); /* screen saver back on */ @@ -464,6 +467,7 @@ vo_x11_fullscreen(); return VO_TRUE; case VOCTRL_GET_PANSCAN: + if ( !vo_config_count || !vo_fs ) return VO_FALSE; return VO_TRUE; case VOCTRL_SET_PANSCAN: if ( vo_fs && ( vo_panscan != vo_panscan_amount ) )