diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-11 21:07:00 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-11 21:07:00 +0000 |
commit | 40e94d73853bc8cb980147778d72616953ad10a2 (patch) | |
tree | 46cdbc2098bc8d73955292783230c0ff5fd43241 /libvo/vo_x11.c | |
parent | 39e3a780ce9ac86245ae3fd28515f1a2b5dfff8d (diff) | |
download | mpv-40e94d73853bc8cb980147778d72616953ad10a2.tar.bz2 mpv-40e94d73853bc8cb980147778d72616953ad10a2.tar.xz |
VFCAP added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 5a09e6a096..16907d8ef5 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -569,9 +569,9 @@ static uint32_t query_format( uint32_t format ) if (IMGFMT_IS_BGR(format)) { if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen) - return 0x1|0x2|0x4; + return 3|VFCAP_OSD|VFCAP_SWSCALE|VFCAP_FLIP; else - return 0x1|0x4; + return 1|VFCAP_OSD|VFCAP_SWSCALE|VFCAP_FLIP; } switch( format ) @@ -585,7 +585,7 @@ static uint32_t query_format( uint32_t format ) case IMGFMT_I420: case IMGFMT_IYUV: case IMGFMT_YV12: - return 0x1|0x4; + return 1|VFCAP_OSD|VFCAP_SWSCALE; } return 0; } |