st/xvmc: remove xorg-server dependency
authorChristian König <deathsimple@vodafone.de>
Tue, 24 Jan 2012 11:19:59 +0000 (12:19 +0100)
committerChristian König <deathsimple@vodafone.de>
Wed, 25 Jan 2012 09:34:26 +0000 (10:34 +0100)
Fixing a circular build dependency.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Christian König <deathsimple@vodafone.de>
configure.ac
src/gallium/state_trackers/xorg/xvmc/subpicture.c

index 18a40fceade5d267a02f4f3747587e0122cfc774..2472cc141b3bca1d8c81889694e0f136e3fdce68 100644 (file)
@@ -1586,7 +1586,7 @@ if test "x$enable_gallium_g3dvl" = xyes; then
 fi
 
 if test "x$enable_xvmc" = xyes; then
-    PKG_CHECK_MODULES([XVMC], [xvmc >= 1.0.6 xorg-server])
+    PKG_CHECK_MODULES([XVMC], [xvmc >= 1.0.6])
     GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc"
     HAVE_ST_XVMC="yes"
 fi
index 190442990c8ce077718dc6d053a514f6dad500ea..c5aa0c35213f4ac9267965d4cd5553a56afedb4a 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <X11/Xlibint.h>
 #include <X11/extensions/XvMClib.h>
-#include <xorg/fourcc.h>
 
 #include "pipe/p_screen.h"
 #include "pipe/p_video_decoder.h"
@@ -46,6 +45,8 @@
 #include "xvmc_private.h"
 
 #define FOURCC_RGB 0x0000003
+#define FOURCC_AI44 0x34344941
+#define FOURCC_IA44 0x34344149
 
 static enum pipe_format XvIDToPipe(int xvimage_id)
 {