mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
* [OSS-Tools] [PATCH 1/3] gstplayer: make use of playbin3
@ 2023-02-13 14:57 Marco Felsch
  2023-02-13 14:57 ` [OSS-Tools] [PATCH 2/3] set pipeline latency and add some max-lateness slack Marco Felsch
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Marco Felsch @ 2023-02-13 14:57 UTC (permalink / raw)
  To: oss-tools, graphics

Replace the 'playbin' by the more recent 'playbin3' element.

Signed-off-by: Marco Felsch <m.felsch@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-13 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 14:57 [OSS-Tools] [PATCH 1/3] gstplayer: make use of playbin3 Marco Felsch
2023-02-13 14:57 ` [OSS-Tools] [PATCH 2/3] set pipeline latency and add some max-lateness slack Marco Felsch
2023-02-13 14:57 ` [OSS-Tools] [PATCH 3/3] plugin: remove sync variable Marco Felsch
2023-02-13 15:04 ` [OSS-Tools] [PATCH 1/3] gstplayer: make use of playbin3 Michael Olbrich
2023-02-13 15:08   ` Marco Felsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox