[Mplayer-cvslog] CVS: main/libvo vo_fsdga.c,1.11,1.12

Alex Beregszaszi alex at mplayerhq.hu
Mon May 27 19:56:55 CEST 2002


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

Modified Files:
	vo_fsdga.c 
Log Message:
query_format revised

Index: vo_fsdga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fsdga.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- vo_fsdga.c	17 Feb 2002 08:24:43 -0000	1.11
+++ vo_fsdga.c	27 May 2002 17:56:52 -0000	1.12
@@ -1,4 +1,3 @@
-#define DISP
 
 /*
  * video_out_dga.c, X11 interface
@@ -281,9 +280,9 @@
  if( !vo_init() ) return 0; // Can't open X11
  printf("Format: %lx\n", (unsigned long) format);
 
- if( format==IMGFMT_YV12 ) return 1;
+ if( format==IMGFMT_YV12 ) return VFCAP_CSP_SUPPORTED;
  if( ( format&IMGFMT_BGR_MASK )==IMGFMT_BGR && 
-     ( format&0xFF )==vo_depthonscreen ) return 1;
+     ( format&0xFF )==vo_depthonscreen ) return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW;
  return 0;
 }
 




More information about the MPlayer-cvslog mailing list