[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.86,1.87

Alex Beregszaszi alex at mplayerhq.hu
Mon May 27 19:53:28 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv15408

Modified Files:
	vo_dxr3.c 
Log Message:
query_format revised

Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- vo_dxr3.c	26 Apr 2002 20:10:05 -0000	1.86
+++ vo_dxr3.c	27 May 2002 17:53:25 -0000	1.87
@@ -216,7 +216,7 @@
 		switch (*((uint32_t*)data)) {	
 		case IMGFMT_MPEGPES:
 			/* Hardware accelerated | Hardware supports subpics */
-			flag = 0x2 | 0x8;
+			flag = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_SPU;
 			break;
 #if defined(USE_LIBFAME) || defined(USE_LIBAVCODEC)
 		case IMGFMT_YV12:
@@ -224,7 +224,7 @@
 		case IMGFMT_RGB24:
 		case IMGFMT_BGR24:
 			/* Conversion needed | OSD Supported */
-			flag = 0x1 | 0x4;
+			flag = VFCAP_CSP_SUPPORTED | VFCAP_OSD;
 			break;
 #else
 		default:
@@ -234,7 +234,7 @@
 		if (noprebuf) {
 			return flag;
 		} else {
-			return (flag | 0x100);
+			return (flag | VFCAP_TIMER);
 		}
 	}
 	return VO_NOTIMPL;




More information about the MPlayer-cvslog mailing list