equal
deleted
inserted
replaced
44 #include <QtCore/qvariant.h> |
44 #include <QtCore/qvariant.h> |
45 #include <QtGui/qx11info_x11.h> |
45 #include <QtGui/qx11info_x11.h> |
46 |
46 |
47 #include "qgstxvimagebuffer.h" |
47 #include "qgstxvimagebuffer.h" |
48 #include "qvideosurfacegstsink.h" |
48 #include "qvideosurfacegstsink.h" |
|
49 |
|
50 #ifndef QT_NO_XVIDEO |
49 |
51 |
50 GstBufferClass *QGstXvImageBuffer::parent_class = NULL; |
52 GstBufferClass *QGstXvImageBuffer::parent_class = NULL; |
51 |
53 |
52 GType QGstXvImageBuffer::get_type(void) |
54 GType QGstXvImageBuffer::get_type(void) |
53 { |
55 { |
272 m_destroyMutex.unlock(); |
274 m_destroyMutex.unlock(); |
273 |
275 |
274 if (m_imagesToDestroy.size() == 1) |
276 if (m_imagesToDestroy.size() == 1) |
275 QMetaObject::invokeMethod(this, "queuedDestroy", Qt::QueuedConnection); |
277 QMetaObject::invokeMethod(this, "queuedDestroy", Qt::QueuedConnection); |
276 } |
278 } |
|
279 |
|
280 #endif //QT_NO_XVIDEO |
|
281 |