From cd4274a503da9f7ccff8083cc268654ffb83b499 Mon Sep 17 00:00:00 2001 From: Tats Date: Thu, 17 Sep 2015 19:06:38 -0400 Subject: [PATCH] Removed link between uridecodebin and queue (this is performed during callback) --- MediaImpl.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/MediaImpl.cpp b/MediaImpl.cpp index 5a5581c..7bb29db 100644 --- a/MediaImpl.cpp +++ b/MediaImpl.cpp @@ -462,13 +462,7 @@ bool MediaImpl::loadMovie(QString filename) g_printerr ("Could not link shmsrc, deserializer and video queue.\n"); } } - else - { - if (! gst_element_link (_uridecodebin0, _queue0)) - { - g_printerr ("Could not link uridecodebin to video queue.\n"); - } - } + // link uridecodebin -> queue will be performed by callback if (! gst_element_link_many (_queue0, _videoconvert0, capsfilter0, videoscale0, _appsink0, NULL)) {