Replace the 'playbin' by the more recent 'playbin3' element. Signed-off-by: Marco Felsch <m.fel...@pengutronix.de> --- plugin/gstplayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugin/gstplayer.cpp b/plugin/gstplayer.cpp index c0b12df..909843b 100644 --- a/plugin/gstplayer.cpp +++ b/plugin/gstplayer.cpp @@ -408,14 +408,14 @@ void QtGstPlayer::updatePipeline() QString prefix = "gst-pipeline:"; QString source = m_source; - /* default pipeline (playbin) */ + /* default pipeline (playbin3) */ if (source.indexOf(prefix) != 0) { - m_pipeline = gst_element_factory_make("playbin", NULL); + m_pipeline = gst_element_factory_make("playbin3", NULL); g_signal_connect(m_pipeline, "element-setup", G_CALLBACK(setup_element_callback), this); if (!m_pipeline) { - qCWarning(lcGstPlayer, "Failed to create playbin element, \ + qCWarning(lcGstPlayer, "Failed to create playbin3 element, \ is the GStreamer playback plugin installed?"); return; } -- 2.30.2