[OE-core] [poky][PATCH v2 2/2] gstreamer1.0: Add basesink related patch

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Jul 27 16:45:52 UTC 2015


On Mon, Jul 27, 2015 at 8:29 AM, Yuqing Zhu <b54851 at freescale.com> wrote:
> Fix QoS/lateness checking if subclass implements
> prepare/prepare_list vfuncs
>
> Signed-off-by: Yuqing Zhu <b54851 at freescale.com>
> ---
>  ...x-QoS-lateness-checking-if-subclass-imple.patch | 70 ++++++++++++++++++++++
>  .../gstreamer/gstreamer1.0_1.4.5.bb                |  1 +
>  2 files changed, 71 insertions(+)
>  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch
> new file mode 100644
> index 0000000..2adfadc
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch
> @@ -0,0 +1,70 @@
> +From 6914566ed6a89c96973a578aa5ecd01ee68cdcfd Mon Sep 17 00:00:00 2001
> +From: Jian <Jian.Li at freescale.com>
> +Date: Thu, 14 May 2015 15:49:43 +0800
> +Subject: [PATCH] basesink: Fix QoS/lateness checking if subclass implements
> + prepare/prepare_list vfuncs
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +In basesink functions gst_base_sink_chain_unlocked(), below code is used to
> +checking if buffer is late before doing prepare call to save some effort:
> +    if (syncable && do_sync)
> +      late =
> +          gst_base_sink_is_too_late (basesink, obj, rstart, rstop,
> +          GST_CLOCK_EARLY, 0, FALSE);
> +
> +    if (G_UNLIKELY (late))
> +      goto dropped;
> +
> +But this code has problem, it should calculate jitter based on current media
> +clock, rather than just passing 0. I found it will drop all the frames when
> +rewind in slow speed, such as -2X.
> +
> +https://bugzilla.gnome.org/show_bug.cgi?id=749258
> +
> +Upstream Status: Backport-GST 1.5.1

The field is:

Upstream-Status: Backport [1.5.1]

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list