qtmobility/plugins/multimedia/gstreamer/qvideosurfacegstsink.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/plugins/multimedia/gstreamer/qvideosurfacegstsink.h	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/plugins/multimedia/gstreamer/qvideosurfacegstsink.h	Wed Jun 23 19:08:38 2010 +0300
@@ -49,16 +49,18 @@
 #include <QtCore/qqueue.h>
 #include <QtCore/qpointer.h>
 #include <QtCore/qwaitcondition.h>
-#include <QtMultimedia/qvideosurfaceformat.h>
-#include <QtMultimedia/qvideoframe.h>
-#include <QtMultimedia/qabstractvideobuffer.h>
+#include <qvideosurfaceformat.h>
+#include <qvideoframe.h>
+#include <qabstractvideobuffer.h>
 
 QT_BEGIN_NAMESPACE
 class QAbstractVideoSurface;
 QT_END_NAMESPACE
 
+#if defined(Q_WS_X11) && !defined(QT_NO_XVIDEO)
 class QGstXvImageBuffer;
 class QGstXvImageBufferPool;
+#endif
 
 class QVideoSurfaceGstDelegate : public QObject
 {
@@ -133,7 +135,11 @@
 
 private:
     QVideoSurfaceGstDelegate *delegate;
+
+#if defined(Q_WS_X11) && !defined(QT_NO_XVIDEO)
     QGstXvImageBufferPool *pool;
+#endif
+
     GstCaps *lastRequestedCaps;
     GstCaps *lastBufferCaps;
     QVideoSurfaceFormat *lastSurfaceFormat;