diff options
author | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-18 15:52:38 +0000 |
---|---|---|
committer | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-18 15:52:38 +0000 |
commit | dbb001bae23b18295014c9fc925538902f956c35 (patch) | |
tree | a7198cff9124bed9cbf3665c6f325c641330e092 /libvo/vo_vesa.c | |
parent | da39de73a8f773d2516eadd20ea2172efc3df2a3 (diff) | |
download | mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.bz2 mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.xz |
replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r-- | libvo/vo_vesa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index a9adc8301f..dce842f6a9 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -468,7 +468,7 @@ static uint32_t query_format(uint32_t format) #ifdef CONFIG_VIDIX if(vidix_name)return(vidix_query_fourcc(format)); #endif - return 1 | VFCAP_OSD | VFCAP_SWSCALE | VFCAP_ACCEPT_STRIDE; /* due new SwScale code */ + return VFCAP_CSP_SUPPORTED | VFCAP_OSD | VFCAP_SWSCALE | VFCAP_ACCEPT_STRIDE; /* due new SwScale code */ } static void paintBkGnd( void ) @@ -634,12 +634,12 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin return -1; } if(subdev_flags == 0xFFFFFFFFUL) return -1; - if(flags & 0x8) + if(flags & VOFLAG_FLIPPING) { printf("vo_vesa: switch -flip is not supported\n"); } - if(flags & 0x04) use_scaler = 1; - if(flags & 0x01) + if(flags & VOFLAG_SWSCALE) use_scaler = 1; + if(flags & VOFLAG_FULLSCREEN) { if(use_scaler) use_scaler = 2; else fs_mode = 1; |