summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-11-02 00:38:13 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-11-02 00:38:13 +0100
commit64860357c4ef7d71980c23f0e1f6fb0838647493 (patch)
tree14f1ffb8d014bdccf8a7e6616e10d3f70f21a08e /src
parentFix pending reply sizing (diff)
downloadnheko-64860357c4ef7d71980c23f0e1f6fb0838647493.tar.xz
Fix gstreamer element names
Diffstat (limited to 'src')
-rw-r--r--src/voip/WebRTCSession.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/voip/WebRTCSession.cpp b/src/voip/WebRTCSession.cpp
index ff459bf9..d3e88c32 100644
--- a/src/voip/WebRTCSession.cpp
+++ b/src/voip/WebRTCSession.cpp
@@ -333,7 +333,7 @@ newVideoSinkChain(GstElement *pipe)
     GstElement *compositor     = gst_element_factory_make("compositor", "compositor");
     GstElement *glupload       = gst_element_factory_make("glupload", nullptr);
     GstElement *glcolorconvert = gst_element_factory_make("glcolorconvert", nullptr);
-    GstElement *qmlglsink      = gst_element_factory_make("qmlglsink", nullptr);
+    GstElement *qmlglsink      = gst_element_factory_make("qml6glsink", nullptr);
     GstElement *glsinkbin      = gst_element_factory_make("glsinkbin", nullptr);
     g_object_set(compositor, "background", 1, nullptr);
     g_object_set(qmlglsink, "widget", WebRTCSession::instance().getVideoItem(), nullptr);
@@ -609,7 +609,7 @@ WebRTCSession::havePlugins(bool isVideo,
       "glcolorconvert",
       "glsinkbin",
       "glupload",
-      "qmlglsink",
+      "qml6glsink",
       "rtpvp8pay",
       "tee",
       "videoconvert",
@@ -672,7 +672,7 @@ WebRTCSession::havePlugins(bool isVideo,
 
     if (isVideo || isScreenshare) {
         // load qmlglsink to register GStreamer's GstGLVideoItem QML type
-        GstElement *qmlglsink = gst_element_factory_make("qmlglsink", nullptr);
+        GstElement *qmlglsink = gst_element_factory_make("qml6glsink", nullptr);
         gst_object_unref(qmlglsink);
     }
     return true;