diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-27 18:05:26 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-27 18:05:26 +0000 |
commit | 1a2a9139f96333963abb21452a2241bd5e410167 (patch) | |
tree | 6c92add7678e581e4bccdcdbf32155b41606f5e0 /libvo/vo_yuv4mpeg.c | |
parent | bb314fce939272cb9bdaba59d23ef74bbb408a62 (diff) | |
download | mpv-1a2a9139f96333963abb21452a2241bd5e410167.tar.bz2 mpv-1a2a9139f96333963abb21452a2241bd5e410167.tar.xz |
revised query_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6214 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_yuv4mpeg.c')
-rw-r--r-- | libvo/vo_yuv4mpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_yuv4mpeg.c b/libvo/vo_yuv4mpeg.c index a934d5c17a..33ba91783b 100644 --- a/libvo/vo_yuv4mpeg.c +++ b/libvo/vo_yuv4mpeg.c @@ -183,9 +183,10 @@ static uint32_t query_format(uint32_t format) { switch(format){ case IMGFMT_YV12: + return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_OSD; case IMGFMT_BGR|24: case IMGFMT_RGB|24: - return 1; + return VFCAP_CSP_SUPPORTED; } return 0; } |