[mythtv] Compiling libmythtv with xvmc, since last configure change

Kristian Kalweit kalweit at exorpro.de
Tue May 17 08:27:59 UTC 2005


I have an epia system with xvmc-vld running. Since last configure change 
in cvs there is a compile error in videoout_xv.cpp. This let me compile 
libmythtv...

Kristian.
-------------- next part --------------
Index: videoout_xv.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/videoout_xv.cpp,v
retrieving revision 1.142
diff -u -r1.142 videoout_xv.cpp
--- videoout_xv.cpp	14 May 2005 19:18:36 -0000	1.142
+++ videoout_xv.cpp	17 May 2005 08:03:10 -0000
@@ -50,9 +50,9 @@
 #   define XVMC_MAX_SURF_NUM 16
     static inline xvmc_render_state_t *GetRender(VideoFrame *frame);
 
-#   if defined(USING_XVMCW)
+#   if defined(USING_XVMCW) || defined(USING_XVMC_VLD)
         extern "C" Status XvMCPutSlice2(Display*,XvMCContext*,char*,int,int);
-#   elif !defined(USING_XVMC_VLD) && !defined(USING_XVMCW)
+#   else
         Status XvMCPutSlice2(Display*, XvMCContext*, char*, int, int)
             { return XvMCBadSurface; }
 #   endif


More information about the mythtv-dev mailing list