[Mplayer-cvslog] CVS: main/libvo vo_sdl.c,1.85,1.86
Fredrik Kuivinen CVS
ksorim at mplayerhq.hu
Mon Apr 29 11:52:31 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv6894
Modified Files:
vo_sdl.c
Log Message:
Use new style query_formats flags. Fixes bug with flip.
Index: vo_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- vo_sdl.c 25 Apr 2002 20:59:12 -0000 1.85
+++ vo_sdl.c 29 Apr 2002 09:52:21 -0000 1.86
@@ -114,6 +114,7 @@
#include "fastmemcpy.h"
#include "sub.h"
#include "aspect.h"
+#include "libmpcodecs/vfcap.h"
#ifdef HAVE_X11
#include <X11/Xlib.h>
@@ -1583,7 +1584,8 @@
case IMGFMT_YUY2:
case IMGFMT_UYVY:
case IMGFMT_YVYU:
- return 0x6; // hw supported & osd
+ return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_OSD |
+ VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN;
case IMGFMT_RGB15:
case IMGFMT_BGR15:
case IMGFMT_RGB16:
@@ -1592,7 +1594,7 @@
case IMGFMT_BGR24:
case IMGFMT_RGB32:
case IMGFMT_BGR32:
- return 0x5; // hw supported w/conversion & osd
+ return VFCAP_CSP_SUPPORTED | VFCAP_OSD | VFCAP_FLIP;
}
return 0;
}
More information about the MPlayer-cvslog
mailing list