summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-27 17:18:06 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-27 17:18:06 +0000
commitfd23331df9cb97e955cd7ba0f6ba40f6f48bb7d4 (patch)
tree1f53cb6695b89c6584330ce48d9b36663861f366 /libvo
parent7829f8bba4790bf1e04b45780e6741a4f6fb6e97 (diff)
downloadmpv-fd23331df9cb97e955cd7ba0f6ba40f6f48bb7d4.tar.bz2
mpv-fd23331df9cb97e955cd7ba0f6ba40f6f48bb7d4.tar.xz
revised query_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6208 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_3dfx.c3
1 files changed, 2 insertions, 1 deletions
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;
}