mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: oss-tools@pengutronix.de, graphics@pengutronix.de
Subject: Re: [OSS-Tools] [PATCH 1/3] gstplayer: make use of playbin3
Date: Mon, 13 Feb 2023 16:04:17 +0100	[thread overview]
Message-ID: <20230213150417.GI30852@pengutronix.de> (raw)
In-Reply-To: <20230213145723.4065393-1-m.felsch@pengutronix.de>

All 3 patches look good. Please push.

mol

On Mon, Feb 13, 2023 at 03:57:21PM +0100, Marco Felsch wrote:
> 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
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  parent reply	other threads:[~2023-02-13 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2023-02-13 14:57 ` [OSS-Tools] [PATCH 3/3] plugin: remove sync variable Marco Felsch
2023-02-13 15:04 ` Michael Olbrich [this message]
2023-02-13 15:08   ` [OSS-Tools] [PATCH 1/3] gstplayer: make use of playbin3 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=20230213150417.GI30852@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=graphics@pengutronix.de \
    --cc=m.felsch@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