qtmobility/plugins/multimedia/gstreamer/qx11videosurface.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/plugins/multimedia/gstreamer/qx11videosurface.h	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/plugins/multimedia/gstreamer/qx11videosurface.h	Wed Jun 23 19:08:38 2010 +0300
@@ -43,7 +43,9 @@
 #define QX11VIDEOSURFACE_H
 
 #include <QtGui/qwidget.h>
-#include <QtMultimedia/qabstractvideosurface.h>
+#include <qabstractvideosurface.h>
+
+#ifndef QT_NO_XVIDEO
 
 #include <X11/Xlib.h>
 #include <X11/extensions/Xv.h>
@@ -110,4 +112,6 @@
     static int redistribute(int value, int fromLower, int fromUpper, int toLower, int toUpper);
 };
 
+#endif //QT_NO_XVIDEO
+
 #endif