From 1a2a9139f96333963abb21452a2241bd5e410167 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 27 May 2002 18:05:26 +0000 Subject: revised query_format git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6214 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_yuv4mpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo/vo_yuv4mpeg.c') 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; } -- cgit v1.2.3