Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Zidan Wang <b50113@freescale.com>,
	 openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] gstreamer1.0-plugins-base: get caps from src pad when query caps in gsttagdemux
Date: Fri, 25 Jul 2014 13:07:21 -0700	[thread overview]
Message-ID: <53D2B8F9.60809@linux.intel.com> (raw)
In-Reply-To: <1406181217-15706-1-git-send-email-b50113@freescale.com>

On 07/23/2014 10:53 PM, Zidan Wang wrote:
> From: Wang Zidan <b50113@freescale.com>
>
This and your other patch need to be rebased against master please.

Sau!

> Signed-off-by: Wang Zidan <b50113@freescale.com>
> ---
>   .../get-caps-from-src-pad-when-query-caps.patch    |   44 ++++++++++++++++++++
>   .../gstreamer/gstreamer1.0-plugins-base_1.2.4.bb   |    1 +
>   2 files changed, 45 insertions(+)
>   create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch
> new file mode 100644
> index 0000000..0fc561c
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch
> @@ -0,0 +1,44 @@
> +From af0dac26f62aaceb4bf266720911953793e0fc5d Mon Sep 17 00:00:00 2001
> +From: zhouming <b42586@freescale.com>
> +Date: Wed, 14 May 2014 10:16:20 +0800
> +Subject: [PATCH] ENGR00312515: get caps from src pad when query caps
> +
> +https://bugzilla.gnome.org/show_bug.cgi?id=728312
> +
> +Upstream Status: Submitted
> +
> +Signed-off-by: zhouming <b42586@freescale.com>
> +---
> + gst-libs/gst/tag/gsttagdemux.c |   13 +++++++++++++
> + 1 file changed, 13 insertions(+)
> + mode change 100644 => 100755 gst-libs/gst/tag/gsttagdemux.c
> +
> +diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c
> +old mode 100644
> +new mode 100755
> +index 9b6c478..ae2294a
> +--- a/gst-libs/gst/tag/gsttagdemux.c
> ++++ b/gst-libs/gst/tag/gsttagdemux.c
> +@@ -1708,6 +1708,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query)
> +       }
> +       break;
> +     }
> ++    case GST_QUERY_CAPS:
> ++    {
> ++
> ++      /* We can hijack caps query if we typefind already */
> ++      if (demux->priv->src_caps) {
> ++        gst_query_set_caps_result (query, demux->priv->src_caps);
> ++        res = TRUE;
> ++      } else {
> ++        res = gst_pad_query_default (pad, parent, query);
> ++      }
> ++      break;
> ++    }
> ++
> +     default:
> +       res = gst_pad_query_default (pad, parent, query);
> +       break;
> +--
> +1.7.9.5
> +
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.4.bb
> index 6e3d8f9..dee0894 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.4.bb
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.4.bb
> @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
>                      "
>
>   SRC_URI += "file://do-not-change-eos-event-to-gap-event-if.patch \
> +            file://get-caps-from-src-pad-when-query-caps.patch \
>   "
>
>   SRC_URI[md5sum] = "278e0a1872ecb981e91830b2cb7f3e98"
>


  reply	other threads:[~2014-07-25 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  5:53 [PATCH] gstreamer1.0-plugins-base: get caps from src pad when query caps in gsttagdemux Zidan Wang
2014-07-25 20:07 ` Saul Wold [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-22  6:49 [PATCH] gst-plugins-good: fix integer overrun for mulawdec Wang Zidan
2014-07-22  6:49 ` [PATCH] gstreamer1.0-plugins-base: get caps from src pad when query caps in gsttagdemux Wang Zidan
2014-07-22 22:26   ` Burton, Ross

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=53D2B8F9.60809@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=b50113@freescale.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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