From 9d4da38838211f4826b278f5c0fe6afd4d3509df Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 16 Aug 2016 02:46:42 +1000 Subject: qt: Disable qmlglsrc element in 1.8 It relies on GstGL features and GstVideoAffineTransformationMeta that are only available in git master. --- ext/qt/Makefile.am | 2 -- ext/qt/gstplugin.cc | 7 +------ 2 files changed, 1 insertion(+), 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 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 ("org.freedesktop.gstreamer.GLVideoItem", 1, 0, "GstGLVideoItem"); -- cgit v1.2.1