[Mplayer-cvslog] CVS: 0_90/libvo vo_dfbmga.c,1.8,1.9

Arpi of Ize arpi at mplayerhq.hu
Fri Feb 21 20:36:29 CET 2003


Update of /cvsroot/mplayer/0_90/libvo
In directory mail:/var/tmp.root/cvs-serv4344/libvo

Modified Files:
	vo_dfbmga.c 
Log Message:
Update sub-picture layer to work with recent DirectFB cvs.
Ville Syrjälä  syrjala at sci.fi


Index: vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/libvo/vo_dfbmga.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vo_dfbmga.c	19 Jan 2003 15:41:26 -0000	1.8
+++ vo_dfbmga.c	21 Feb 2003 19:36:27 -0000	1.9
@@ -502,6 +502,10 @@
           dlc.flags       = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE;
           dlc.pixelformat = DSPF_LUT8;
           dlc.buffermode  = DLBM_BACKVIDEO;
+#if DIRECTFBVERSION > 916
+          dlc.flags      |= DLCONF_OPTIONS;
+          dlc.options     = DLOP_ALPHACHANNEL;
+#endif
           if (spic->TestConfiguration( spic, &dlc, &failed ) != DFB_OK) {
                mp_msg( MSGT_VO, MSGL_ERR,
                        "vo_dfbmga: Invalid sub-picture configuration!\n" );



More information about the MPlayer-cvslog mailing list