# HG changeset patch # User alex # Date 1022519886 0 # Node ID 1c5bde0ef5d19f3e96e46d73c57a1787c3694ff2 # Parent 4bffe1ffa86c214874abb9959efa87b83e95b069 revised query_format diff -r 4bffe1ffa86c -r 1c5bde0ef5d1 libvo/vo_3dfx.c --- a/libvo/vo_3dfx.c Mon May 27 17:14:13 2002 +0000 +++ b/libvo/vo_3dfx.c Mon May 27 17:18:06 2002 +0000 @@ -468,12 +468,13 @@ 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; }