mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: oss-tools@pengutronix.de, graphics@pengutronix.de
Subject: [OSS-Tools] [PATCH 1/3] gstplayer: make use of playbin3
Date: Mon, 13 Feb 2023 15:57:21 +0100	[thread overview]
Message-ID: <20230213145723.4065393-1-m.felsch@pengutronix.de> (raw)

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




             reply	other threads:[~2023-02-13 14:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 14:57 Marco Felsch [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230213145723.4065393-1-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=graphics@pengutronix.de \
    --cc=oss-tools@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox