summaryrefslogtreecommitdiffstats
path: root/libvo/vosub_vidix.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-11 21:07:00 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-11 21:07:00 +0000
commit40e94d73853bc8cb980147778d72616953ad10a2 (patch)
tree46cdbc2098bc8d73955292783230c0ff5fd43241 /libvo/vosub_vidix.c
parent39e3a780ce9ac86245ae3fd28515f1a2b5dfff8d (diff)
downloadmpv-40e94d73853bc8cb980147778d72616953ad10a2.tar.bz2
mpv-40e94d73853bc8cb980147778d72616953ad10a2.tar.xz
VFCAP added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vosub_vidix.c')
-rw-r--r--libvo/vosub_vidix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c
index 8ee84ecba9..bf6acf3952 100644
--- a/libvo/vosub_vidix.c
+++ b/libvo/vosub_vidix.c
@@ -31,6 +31,7 @@
#include "video_out.h"
#include "../mp_image.h"
+#include "../libmpcodecs/vfcap.h"
#define NUM_FRAMES VID_PLAY_MAXFRAMES /* Temporary: driver will overwrite it */
#define UNUSED(x) ((void)(x)) /* Removes warning about unused arguments */
@@ -361,12 +362,12 @@ uint32_t vidix_query_fourcc(uint32_t format)
vo_server->draw_slice = vidix_draw_slice_swYV12;
forced_fourcc=IMGFMT_YUY2;
printf("vosub_vidix: WARNING!!! Using YV12 to YUY2 SW convertion\n");
- return 0x02;
+ return VFCAP_CSP_SUPPORTED|VFCAP_HWSCALE_UP|VFCAP_HWSCALE_DOWN;
}
}
- return 0 ;
+ return 0;
}
- return 0x2; /* hw support without conversion */
+ return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_HWSCALE_UP|VFCAP_HWSCALE_DOWN;
}
int vidix_grkey_support(void)