summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");