summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2016-08-16 02:46:42 +1000
committerJan Schmidt <jan@centricular.com>2016-08-16 02:46:52 +1000
commit9d4da38838211f4826b278f5c0fe6afd4d3509df (patch)
tree2a6cdf44c9c3189927d5aa6fabe6fc4eecdcbcb9
parentb470c4ed064c03d197789a039578842039e8da41 (diff)
qt: Disable qmlglsrc element in 1.8
It relies on GstGL features and GstVideoAffineTransformationMeta that are only available in git master.
-rw-r--r--ext/qt/Makefile.am2
-rw-r--r--ext/qt/gstplugin.cc7
2 files changed, 1 insertions, 8 deletions
diff --git a/ext/qt/Makefile.am b/ext/qt/Makefile.am
index b8bd5d4bf..ae091e464 100644
--- a/ext/qt/Makefile.am
+++ b/ext/qt/Makefile.am
@@ -26,8 +26,6 @@ libgstqmlgl_la_SOURCES = \
qtwindow.cc \
gstqtsink.cc \
gstqtsink.h \
- gstqtsrc.cc \
- gstqtsrc.h \
gstqtgl.h \
gstplugin.cc
diff --git a/ext/qt/gstplugin.cc b/ext/qt/gstplugin.cc
index 01ca2752c..27a1f14f9 100644
--- a/ext/qt/gstplugin.cc
+++ b/ext/qt/gstplugin.cc
@@ -23,7 +23,6 @@
#endif
#include "gstqtsink.h"
-#include "gstqtsrc.h"
#include <QtQml/QQmlApplicationEngine>
static gboolean
@@ -33,11 +32,7 @@ plugin_init (GstPlugin * plugin)
GST_RANK_NONE, GST_TYPE_QT_SINK)) {
return FALSE;
}
-
- if (!gst_element_register (plugin, "qmlglsrc",
- GST_RANK_NONE, GST_TYPE_QT_SRC)) {
- return FALSE;
- }
+
/* this means the plugin must be loaded before the qml engine is loaded */
qmlRegisterType<QtGLVideoItem> ("org.freedesktop.gstreamer.GLVideoItem", 1, 0, "GstGLVideoItem");