[Mplayer-cvslog] CVS: main/libvo vo_directfb.c,1.12,1.13

Arpi of Ize arpi at mplayer.dev.hu
Tue Mar 19 00:20:15 CET 2002


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

Modified Files:
	vo_directfb.c 
Log Message:
updates by Jiri.Svoboda at seznam.cz

Index: vo_directfb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directfb.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vo_directfb.c	10 Mar 2002 15:47:01 -0000	1.12
+++ vo_directfb.c	18 Mar 2002 23:20:13 -0000	1.13
@@ -58,6 +58,8 @@
 #include "fastmemcpy.h"
 #include "sub.h"
 #include "../postproc/rgb2rgb.h"
+#include "aspect.h"
+#include "../mp_image.h"
 
 LIBVO_EXTERN(directfb)
 
@@ -82,8 +84,8 @@
 static IDirectFBInputDevice *keyboard = NULL;
 static IDirectFBDisplayLayer       *videolayer = NULL;
[...1307 lines suppressed...]
+    return VO_FALSE;
+}
+#endif
+
 static uint32_t control(uint32_t request, void *data, ...)
 {
   switch (request) {
+  case VOCTRL_QUERY_VAA:
+    query_vaa((vo_vaa_t*)data);
+    return VO_TRUE;
   case VOCTRL_QUERY_FORMAT:
     return query_format(*((uint32_t*)data));
+#ifdef DIRECTRENDER
+  case VOCTRL_GET_IMAGE:
+//    printf("DirectFB: control(VOCTRL_GET_IMAGE) called\n");
+    if (dr_enabled) return get_image(data);
+#endif    
   }
   return VO_NOTIMPL;
 }




More information about the MPlayer-cvslog mailing list