From fd23331df9cb97e955cd7ba0f6ba40f6f48bb7d4 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 27 May 2002 17:18:06 +0000 Subject: revised query_format git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6208 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_3dfx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo/vo_3dfx.c') diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c index 6751620082..02892d699e 100644 --- a/libvo/vo_3dfx.c +++ b/libvo/vo_3dfx.c @@ -468,12 +468,13 @@ flip_page(void) static uint32_t query_format(uint32_t format) { + /* does this supports scaling? up & down? */ switch(format){ case IMGFMT_YV12: // case IMGFMT_YUY2: // case IMGFMT_RGB|24: // case IMGFMT_BGR|24: - return 1; + return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW; } return 0; } -- cgit v1.2.3