Skip to contentSkip to conversation

imx-gst1.0-plugin: Upgrade to v4.3.1

PATCH In review Stefan Agner 2 participants 7 messages Dec 20, 2017 – Dec 27, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/6 imx-gst1.0-plugin: Upgrade to v4.3.1

From: Stefan Agner <[email protected]>

Upgrade to v4.3.1 from L4.9.51_MX8_BETA1 release. This version works well with GStreamer 1.12 used with rocko, also on older SoCs such as i.MX 6.

---
 ...-plugin_4.1.6.bb => imx-gst1.0-plugin_4.3.1.bb} | 34 ++++++++++++----------
 1 file changed, 18 insertions(+), 16 deletions(-)
 rename recipes-multimedia/gstreamer/{imx-gst1.0-plugin_4.1.6.bb => imx-gst1.0-plugin_4.3.1.bb} (80%)
recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.3.1.bb renamed from recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb +18 -16
similarity index 80%
rename from recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.6.bb
rename to recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.3.1.bb
index 89a14d5d..3375d97d 100644
@@ -1,4 +1,5 @@
 # Copyright (C) 2014,2016 Freescale Semiconductor
+# Copyright 2017 NXP
 # Copyright (C) 2012-2015 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
@@ -7,27 +8,23 @@ LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1"
 SECTION = "multimedia"
 
 DEPENDS = "imx-codec imx-parser virtual/kernel gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
-DEPENDS_append_mx6q = " imx-lib imx-vpu imx-vpuwrap"
-DEPENDS_append_mx6dl = " imx-lib imx-vpu imx-vpuwrap"
-DEPENDS_append_mx6sl = " imx-lib"
-DEPENDS_append_mx6sx = " imx-lib"
-DEPENDS_append_mx6ul = " imx-lib"
-DEPENDS_append_mx7d = " imx-lib"
+DEPENDS_append_mx6 = " imx-lib"
+DEPENDS_append_mx7 = " imx-lib"
+DEPENDS_append_imxvpu = " imx-vpuwrap"
 
 # For backwards compatibility
 RREPLACES_${PN} = "gst1.0-fsl-plugin"
 RPROVIDES_${PN} = "gst1.0-fsl-plugin"
 RCONFLICTS_${PN} = "gst1.0-fsl-plugin"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
-                    file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
+LIC_FILES_CHKSUM = "file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                     file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
 
-SRCBRANCH = "nxp/MM_04.02.01_1705_L4.9.11_CONSOLIDATED_GA"
+IMXGST_SRC ?= "git://source.codeaurora.org/external/imx/imx-gst1.0-plugin.git;protocol=https"
+SRCBRANCH = "MM_04.03.01_1710_L4.9.51_MX8_BETA1"
 
-SRC_URI = " \
-    git://source.codeaurora.org/external/imx/gst1.0-plugins-fsl.git;protocol=https;branch=${SRCBRANCH} \
-"
+SRC_URI = "${IMXGST_SRC};branch=${SRCBRANCH}"
+SRCREV = "cfa6157b4c7d07890ba41131809333bfa1f757de"
 
 S = "${WORKDIR}/git"
 
@@ -35,12 +32,15 @@ inherit autotools pkgconfig
 
 # Make sure kernel sources are available
 do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
 PLATFORM_mx6 = "MX6"
 PLATFORM_mx6sl = "MX6SL"
 PLATFORM_mx6sx = "MX6SX"
 PLATFORM_mx6ul = "MX6UL"
-PLATFORM_mx6ull = "MX6UL"
-PLATFORM_mx7d = "MX7D"
+PLATFORM_mx6sll = "MX6SLL"
+PLATFORM_mx7= "MX7D"
+PLATFORM_mx7ulp= "MX7ULP"
+PLATFORM_mx8 = "MX8"
 
 # Todo add a mechanism to map possible build targets
 EXTRA_OECONF = "PLATFORM=${PLATFORM} \
@@ -54,8 +54,10 @@ PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN
 BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis"
 RDEPENDS_${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux "
 
+# overlaysink rely on G2D,
+# cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D
 PACKAGECONFIG ?= ""
-PACKAGECONFIG_mx6 = "overlaysink"
+PACKAGECONFIG_imxgpu2d = "overlaysink"
 
 
 # FIXME: Add all features
@@ -81,4 +83,4 @@ FILES_${PN}-grecorder = "${bindir}/grecorder-1.0"
 FILES_${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}"
 FILES_${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}"
 
-COMPATIBLE_MACHINE = "(mx6|mx6ul|mx6ull|mx7d)"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
Signature · 1 line
2.13.6
#1 lore raw

PATCH v3 2/6 gstreamer1.0: Add NXP specific patches

From: Stefan Agner <[email protected]>

Add NXP specific patches from morty-4.9.51-mx8_beta branch. This allows to use imx-gst1.0-plugin 4.3.1 with gstreamer 1.12.2.

---
 .../0001-handle-base-parse-error.patch             | 35 ++++++++
 ...ith-gst-inspect-Chris-Lord-chris-openedha.patch | 32 ++++++++
 ...e-unset-FLAG_DISCONT-when-push-to-adapter.patch | 33 ++++++++
 ...e-Need-push-adapter-remainning-data-in-pa.patch | 51 ++++++++++++
 ...or-should-proceed-non-active-pad-buffer-e.patch | 51 ++++++++++++
 ...0006-poll-Add-check-if-can-read-event-API.patch | 95 ++++++++++++++++++++++
 ...or-Need-flush-when-set-active-pad-and-the.patch | 68 ++++++++++++++++
 .../gstreamer/gstreamer1.0_1.12.%.bbappend         | 14 ++++
 8 files changed, 379 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0001-handle-base-parse-error.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0002-Fix-crash-with-gst-inspect-Chris-Lord-chris-openedha.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0003-baseparse-unset-FLAG_DISCONT-when-push-to-adapter.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0004-gstbaseparse-Need-push-adapter-remainning-data-in-pa.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0005-inputselector-should-proceed-non-active-pad-buffer-e.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0006-poll-Add-check-if-can-read-event-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0/0007-inputselector-Need-flush-when-set-active-pad-and-the.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0_1.12.%.bbappend
recipes-multimedia/gstreamer/gstreamer1.0/0001-handle-base-parse-error.patch new file +35 -0
new file mode 100644
index 00000000..3aaa6360
@@ -0,0 +1,35 @@
+From 01b047cbb5e326fb3980bb6fc5206a82ea401170 Mon Sep 17 00:00:00 2001
+From: Lyon Wang <[email protected]>
+Date: Wed, 14 Oct 2015 14:15:11 +0800
+Subject: [PATCH 1/7] handle base parse error
+
+There is no need to send GST_ELEMENT_ERROR
+becuase ohter tracks may still good to play.
+no need to end the element, just print error message is enough
+
+Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=741542]
+
+Signed-off-by: Lyon Wang <[email protected]>
+---
+ libs/gst/base/gstbaseparse.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c
+index df67dd0..2f45d23 100644
+--- a/libs/gst/base/gstbaseparse.c
++++ b/libs/gst/base/gstbaseparse.c
+@@ -1324,8 +1324,9 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
+       /* If we STILL have zero frames processed, fire an error */
+       if (parse->priv->framecount == 0 && !parse->priv->saw_gaps &&
+           !parse->priv->first_buffer) {
+-        GST_ELEMENT_ERROR (parse, STREAM, WRONG_TYPE,
+-            ("No valid frames found before end of stream"), (NULL));
++      /*  GST_ELEMENT_ERROR (parse, STREAM, WRONG_TYPE,
++            ("No valid frames found before end of stream"), (NULL));*/
++        GST_ERROR_OBJECT(parse, "No valid frames decoded before end of stream");
+       }
+ 
+       if (!parse->priv->saw_gaps
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0/0002-Fix-crash-with-gst-inspect-Chris-Lord-chris-openedha.patch new file +32 -0
new file mode 100644
index 00000000..1bd381b6
@@ -0,0 +1,32 @@
+From 1bd9b30040ad23d86faa577baeb1c6734f39150f Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani <[email protected]>
+Date: Sat, 6 Apr 2013 23:52:11 +0200
+Subject: [PATCH 2/7] Fix crash with gst-inspect Chris Lord
+ <[email protected]>
+
+Upstream-Status: Pending
+
+Signed-off-by: Carlos Rafael Giani <[email protected]>
+
+Conflicts:
+	tools/gst-inspect.c
+---
+ tools/gst-inspect.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
+index e420e4c..95983bc 100644
+--- a/tools/gst-inspect.c
++++ b/tools/gst-inspect.c
+@@ -1548,7 +1548,7 @@ main (int argc, char *argv[])
+   g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
+   g_option_context_add_group (ctx, gst_init_get_option_group ());
+   if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
+-    g_printerr ("Error initializing: %s\n", err->message);
++    g_printerr ("Error initializing: %s\n", err ? err->message : "(null)");
+     g_clear_error (&err);
+     g_option_context_free (ctx);
+     return -1;
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0/0003-baseparse-unset-FLAG_DISCONT-when-push-to-adapter.patch new file +33 -0
new file mode 100644
index 00000000..9758d9c5
@@ -0,0 +1,33 @@
+From 95d80584413c60cfe302cb2b55f59ffdca2a67b9 Mon Sep 17 00:00:00 2001
+From: Lyon Wang <[email protected]>
+Date: Wed, 4 Nov 2015 18:16:52 +0800
+Subject: [PATCH 3/7] [baseparse] unset FLAG_DISCONT when push to adapter
+
+Since DISCONT flag will be handled by priv->discont flag.
+There is no need to copy DISCONT flag to adapter.
+Otherwise, the DISCONT flag will alwasys been set on each frame,
+for the first chain in buffer.
+
+
+Upstream-Status: Pending [https://bugzilla.gnome.org/show_bug.cgi?id=757575]
+
+Signed-off-by: Lyon Wang <[email protected]>
+---
+ libs/gst/base/gstbaseparse.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c
+index 2f45d23..3c52887 100644
+--- a/libs/gst/base/gstbaseparse.c
++++ b/libs/gst/base/gstbaseparse.c
+@@ -3157,6 +3157,7 @@ gst_base_parse_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
+         parse->priv->discont = TRUE;
+       }
+     }
++    GST_BUFFER_FLAG_UNSET(buffer, GST_BUFFER_FLAG_DISCONT);
+     gst_adapter_push (parse->priv->adapter, buffer);
+   }
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0/0004-gstbaseparse-Need-push-adapter-remainning-data-in-pa.patch new file +51 -0

51 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0/0005-inputselector-should-proceed-non-active-pad-buffer-e.patch new file +51 -0

51 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0/0006-poll-Add-check-if-can-read-event-API.patch new file +95 -0

95 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0/0007-inputselector-Need-flush-when-set-active-pad-and-the.patch new file +68 -0

68 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0_1.12.%.bbappend new file +14 -0
new file mode 100644
index 00000000..d332dba3
@@ -0,0 +1,14 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_IMX_PATCHES = " \
+    file://0001-handle-base-parse-error.patch \
+    file://0002-Fix-crash-with-gst-inspect-Chris-Lord-chris-openedha.patch \
+    file://0003-baseparse-unset-FLAG_DISCONT-when-push-to-adapter.patch \
+    file://0004-gstbaseparse-Need-push-adapter-remainning-data-in-pa.patch \
+    file://0005-inputselector-should-proceed-non-active-pad-buffer-e.patch \
+    file://0006-poll-Add-check-if-can-read-event-API.patch \
+    file://0007-inputselector-Need-flush-when-set-active-pad-and-the.patch \
+"
+
+SRC_URI_append_mx6 = "${SRC_URI_IMX_PATCHES}"
+SRC_URI_append_mx7 = "${SRC_URI_IMX_PATCHES}"
Signature · 1 line
2.13.6
#3 lore raw

PATCH v3 4/6 gstreamer1.0-plugins-good: Add NXP specific patches

In reply to Stefan Agner

From: Stefan Agner <[email protected]>

Add NXP specific patches from morty-4.9.51-mx8_beta branch. This allows to use imx-gst1.0-plugin 4.3.1 with gstreamer 1.12.2.

---
 ...Need-to-check-if-pa-stream-is-still-valid.patch |  39 +++
 .../0002-Fix-aacpase-error-tolerance-issue.patch   |  34 +++
 ...-MMFMWK-7274-mx8dv-Enable-camera-on-mx8dv.patch |  37 +++
 ...-Fix-adif-aac-file-read-channel-progile-i.patch | 267 +++++++++++++++++++++
 .../gstreamer1.0-plugins-good_1.12.%.bbappend      |  11 +
 5 files changed, 388 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-Need-to-check-if-pa-stream-is-still-valid.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-Fix-aacpase-error-tolerance-issue.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-MMFMWK-7274-mx8dv-Enable-camera-on-mx8dv.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0004-gstaacparse-Fix-adif-aac-file-read-channel-progile-i.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.%.bbappend
recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-Need-to-check-if-pa-stream-is-still-valid.patch new file +39 -0
new file mode 100644
index 00000000..f2ee02ed
@@ -0,0 +1,39 @@
+From a4af947cb793cd3b9550c76d1ea8db7d3a94612a Mon Sep 17 00:00:00 2001
+From: Jian <[email protected]>
+Date: Tue, 3 Feb 2015 17:08:40 +0800
+Subject: [PATCH 2/4] Need to check if pa stream is still valid
+
+Fixed the issue that will report pulse server is dead
+when doing audio track switching.
+Need to check if pa stream is valid as it may be released
+by caps change.
+
+Upstream-Status: Submitted
+https://bugzilla.gnome.org/show_bug.cgi?id=743912
+
+Signed-off-by: Jian <[email protected]>
+---
+ ext/pulse/pulsesink.c | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c
+index 521c4a6..931f1c8 100644
+--- a/ext/pulse/pulsesink.c
++++ b/ext/pulse/pulsesink.c
+@@ -2022,6 +2022,13 @@ gst_pulsesink_get_time (GstClock * clock, GstAudioBaseSink * sink)
+   }
+ 
+   pa_threaded_mainloop_lock (mainloop);
++
++  /* Need to check if pa stream is valid as it may be released by caps change*/
++  if (!pbuf->stream) {
++    pa_threaded_mainloop_unlock (mainloop);
++    return GST_CLOCK_TIME_NONE;
++  }
++
+   if (gst_pulsering_is_dead (psink, pbuf, TRUE))
+     goto server_dead;
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-Fix-aacpase-error-tolerance-issue.patch new file +34 -0
new file mode 100644
index 00000000..5430df95
@@ -0,0 +1,34 @@
+From db527a6db0c55322174ff6baa389ac8b110ec662 Mon Sep 17 00:00:00 2001
+From: Lyon Wang <[email protected]>
+Date: Fri, 6 Feb 2015 11:27:47 +0800
+Subject: [PATCH 3/4] Fix aacpase error tolerance issue
+
+There is no need to check channel configure in adts header.
+The channel could be output of decoder.
+No need to return fatal error here.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=743332
+
+Upstream-Status: Pending
+
+Signed-off-by: Lyon Wang <[email protected]>
+---
+ gst/audioparsers/gstaacparse.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c
+index cabd961..09a53cc 100644
+--- a/gst/audioparsers/gstaacparse.c
++++ b/gst/audioparsers/gstaacparse.c
+@@ -915,7 +915,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse,
+     gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
+         &aacparse->object_type, &aacparse->mpegversion);
+ 
+-    if (!channels || !framesize) {
++    if (!framesize) {
+       GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
+       return FALSE;
+     }
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-MMFMWK-7274-mx8dv-Enable-camera-on-mx8dv.patch new file +37 -0
new file mode 100644
index 00000000..66d8ec6b
@@ -0,0 +1,37 @@
+From 4a37ac1ffc2952fb6dedec914dcd336dbaf5dff5 Mon Sep 17 00:00:00 2001
+From: Song Bing <[email protected]>
+Date: Fri, 21 Oct 2016 11:24:05 +0800
+Subject: [PATCH 4/4] MMFMWK-7274 [mx8dv] Enable camera on mx8dv
+
+Set memory allocate by camera as physical continuoues.
+
+Signed-off-by: Song Bing [email protected]
+---
+ sys/v4l2/gstv4l2allocator.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/sys/v4l2/gstv4l2allocator.c b/sys/v4l2/gstv4l2allocator.c
+index 2047383..ecab01e 100644
+--- a/sys/v4l2/gstv4l2allocator.c
++++ b/sys/v4l2/gstv4l2allocator.c
+@@ -818,7 +818,7 @@ gst_v4l2_allocator_alloc_mmap (GstV4l2Allocator * allocator)
+           "mmap buffer length %d, data offset %d, plane %d",
+           group->planes[i].length, group->planes[i].data_offset, i);
+ 
+-      group->mem[i] = (GstMemory *) _v4l2mem_new (0, GST_ALLOCATOR (allocator),
++      group->mem[i] = (GstMemory *) _v4l2mem_new (GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS, GST_ALLOCATOR (allocator),
+           NULL, group->planes[i].length, 0, 0, group->planes[i].length, i,
+           data, -1, group);
+     } else {
+@@ -879,7 +879,7 @@ gst_v4l2_allocator_alloc_dmabuf (GstV4l2Allocator * allocator,
+       GST_LOG_OBJECT (allocator, "exported DMABUF as fd %i plane %d",
+           expbuf.fd, i);
+ 
+-      group->mem[i] = (GstMemory *) _v4l2mem_new (0, GST_ALLOCATOR (allocator),
++      group->mem[i] = (GstMemory *) _v4l2mem_new (GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS, GST_ALLOCATOR (allocator),
+           NULL, group->planes[i].length, 0, 0, group->planes[i].length, i,
+           NULL, expbuf.fd, group);
+     } else {
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0004-gstaacparse-Fix-adif-aac-file-read-channel-progile-i.patch new file +267 -0

267 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.%.bbappend new file +11 -0
new file mode 100644
index 00000000..981428d7
@@ -0,0 +1,11 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_IMX_PATCHES = " \
+    file://0001-Need-to-check-if-pa-stream-is-still-valid.patch \
+    file://0002-Fix-aacpase-error-tolerance-issue.patch \
+    file://0003-MMFMWK-7274-mx8dv-Enable-camera-on-mx8dv.patch \
+    file://0004-gstaacparse-Fix-adif-aac-file-read-channel-progile-i.patch \
+"
+
+SRC_URI_append_mx6 = "${SRC_URI_IMX_PATCHES}"
+SRC_URI_append_mx7 = "${SRC_URI_IMX_PATCHES}"
Signature · 1 line
2.13.6
#6 lore raw

PATCH v3 6/6 gstreamer1.0-libav: Add NXP specific patches

In reply to Stefan Agner

From: Stefan Agner <[email protected]>

Add NXP specific patches from morty-4.9.51-mx8_beta branch. This allows to use imx-gst1.0-plugin 4.3.1 with gstreamer 1.12.2.

---
 ...tavcodecmap-Do-not-require-a-channel-mask.patch | 46 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-libav_1.12.%.bbappend   |  8 ++++
 2 files changed, 54 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-libav/0002-gstavcodecmap-Do-not-require-a-channel-mask.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.%.bbappend
recipes-multimedia/gstreamer/gstreamer1.0-libav/0002-gstavcodecmap-Do-not-require-a-channel-mask.patch new file +46 -0
new file mode 100644
index 00000000..b499d213
@@ -0,0 +1,46 @@
+From 1553cc0f1843213801767dedb973e30db2d23855 Mon Sep 17 00:00:00 2001
+From: Mathieu Duponchelle <[email protected]>
+Date: Thu, 17 Aug 2017 14:28:22 +0200
+Subject: [PATCH] gstavcodecmap: Do not require a channel-mask
+
+.. for mono or stereo input.
+
+Upstream-Status: Backport [1.13.1]
+
+https://bugzilla.gnome.org/show_bug.cgi?id=786401
+---
+ ext/libav/gstavcodecmap.c | 17 ++++++++++++-----
+ 1 file changed, 12 insertions(+), 5 deletions(-)
+
+diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c
+index 35a2ca0..7033f54 100644
+--- a/ext/libav/gstavcodecmap.c
++++ b/ext/libav/gstavcodecmap.c
+@@ -651,12 +651,19 @@ gst_ff_aud_caps_new (AVCodecContext * context, AVCodec * codec,
+ 
+           if (gst_audio_channel_positions_to_mask (pos, nbits_set, FALSE,
+                   &mask)) {
+-            GstCaps *tmp =
+-                gst_caps_new_simple (mimetype, "channel-mask", GST_TYPE_BITMASK,
+-                mask,
+-                "channels", G_TYPE_INT, nbits_set, NULL);
++            GstStructure *s =
++                gst_structure_new (mimetype, "channels", G_TYPE_INT, nbits_set,
++                NULL);
++
++            /* No need to require a channel mask for mono or stereo */
++            if (!(nbits_set == 1 && pos[0] == GST_AUDIO_CHANNEL_POSITION_MONO)
++                && !(nbits_set == 2
++                    && pos[0] == GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT
++                    && pos[1] == GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT))
++              gst_structure_set (s, "channel-mask", GST_TYPE_BITMASK, mask,
++                  NULL);
+ 
+-            gst_caps_append (caps, tmp);
++            gst_caps_append_structure (caps, s);
+           }
+         }
+         layouts++;
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.%.bbappend new file +8 -0
new file mode 100644
index 00000000..b51d88be
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_IMX_PATCHES = " \
+    file://0002-gstavcodecmap-Do-not-require-a-channel-mask.patch \
+"
+
+SRC_URI_append_mx6 = "${SRC_URI_IMX_PATCHES}"
+SRC_URI_append_mx7 = "${SRC_URI_IMX_PATCHES}"
Signature · 1 line
2.13.6
#2 lore raw

PATCH v3 3/6 gstreamer1.0-plugins-base: Add NXP specific patches

In reply to Stefan Agner

From: Stefan Agner <[email protected]>

Add NXP specific patches from morty-4.9.51-mx8_beta branch. this allows to use imx-gst1.0-plugin 4.3.1 with gstreamer 1.12.2.

---
 ...rlay-make-memory-copy-when-video-buffer-s.patch |  78 ++++
 ...-don-t-set-async-of-custom-text-sink-to-f.patch |  35 ++
 ...stplaybin-remove-default-deinterlace-flag.patch |  31 ++
 ...-send-to-down-stream-if-all-the-frame-cor.patch |  58 +++
 .../0007-handle-audio-video-decoder-error.patch    |  66 ++++
 ...esink-print-warning-istead-of-return-ERRO.patch |  47 +++
 ...-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch |  58 +++
 ...-7259-Remove-dependence-on-imx-plugin-git.patch | 433 +++++++++++++++++++++
 ...-optimization-for-lib-video-in-plugins-ba.patch |  34 ++
 ...-Remove-phymem-allocator-from-base-to-bad.patch |  37 ++
 .../0013-dmabuf-set-fd-memory-to-keep-mapped.patch |  30 ++
 ...ed-unmap-if-mapping-flags-are-not-subset-.patch |  36 ++
 ...-basetextoverlay-need-avoid-idx-exceed-me.patch |  34 ++
 .../gstreamer1.0-plugins-base_1.12.%.bbappend      |  24 ++
 14 files changed, 1001 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-gstplaybin-remove-default-deinterlace-flag.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0006-taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0007-handle-audio-video-decoder-error.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0008-gstaudiobasesink-print-warning-istead-of-return-ERRO.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0010-MMFMWK-7259-Remove-dependence-on-imx-plugin-git.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0011-Disable-orc-optimization-for-lib-video-in-plugins-ba.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0012-Remove-phymem-allocator-from-base-to-bad.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0013-dmabuf-set-fd-memory-to-keep-mapped.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0014-fdmemory-need-unmap-if-mapping-flags-are-not-subset-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0015-basetextoverlay-need-avoid-idx-exceed-me.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.%.bbappend
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch new file +78 -0
new file mode 100644
index 00000000..28347c69
@@ -0,0 +1,78 @@
+From f54f1c28272913a216e91868ce0270e6c0d99b2e Mon Sep 17 00:00:00 2001
+From: Mingke Wang <[email protected]>
+Date: Fri, 16 Oct 2015 19:31:32 +0800
+Subject: [PATCH 01/16] basetextoverlay: make memory copy when video buffer's
+ memory is ready only
+
+1. since gst_buffer_make_writable just lookup the refcount to determine if
+   a buffer is writable, and it will use _gst_buffer_copy() which don't
+   perform a deep memory copy even if the flag of a memory is set to
+   GST_MEMORY_FLAG_READONLY. So, we detect the memory flag and use
+   gst_buffer_copy_region with GST_BUFFER_COPY_DEEP parameter to perform
+   deep memory copy. if the allocator of a memory don't support mem_copy
+   interface, the it will return NULL, if this case, we can use
+   gst_buffer_make_writable() to get a shared memory buffer or the orignal
+   buffer if the buffer's refcount is 1.
+
+Signed-off-by: Mingke Wang <[email protected]>
+---
+ ext/pango/gstbasetextoverlay.c | 32 ++++++++++++++++++++++++++++++--
+ 1 file changed, 30 insertions(+), 2 deletions(-)
+ mode change 100644 => 100755 ext/pango/gstbasetextoverlay.c
+
+diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c
+old mode 100644
+new mode 100755
+index 44f5f52..c08e3b0
+--- a/ext/pango/gstbasetextoverlay.c
++++ b/ext/pango/gstbasetextoverlay.c
+@@ -2227,16 +2227,44 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
+     }
+   }
+ 
+-  video_frame = gst_buffer_make_writable (video_frame);
+-
+   if (overlay->attach_compo_to_buffer) {
+     GST_DEBUG_OBJECT (overlay, "Attaching text overlay image to video buffer");
++    video_frame = gst_buffer_make_writable (video_frame);
+     gst_buffer_add_video_overlay_composition_meta (video_frame,
+         overlay->composition);
+     /* FIXME: emulate shaded background box if want_shading=true */
+     goto done;
+   }
+ 
++  gint idx = 0;
++  gboolean mem_rdonly = FALSE;
++  GstMemory *mem;
++
++  while (mem = gst_buffer_get_memory(video_frame, idx++)) {
++    if (GST_MEMORY_IS_READONLY(mem)) {
++      gst_memory_unref (mem);
++      mem_rdonly = TRUE;
++      break;
++    }
++    gst_memory_unref (mem);
++  }
++
++  if (mem_rdonly) {
++    GstBuffer *new_buf = gst_buffer_copy_region (video_frame,
++        GST_BUFFER_COPY_ALL | GST_BUFFER_COPY_DEEP, 0, -1);
++
++    if (!new_buf) {
++      GST_WARNING_OBJECT(overlay,
++                "buffer memory read only, but copy memory failed");
++      goto done;
++    } else {
++      gst_buffer_unref (video_frame);
++      video_frame = new_buf;
++    }
++  } else {
++    video_frame = gst_buffer_make_writable (video_frame);
++  }
++
+   if (!gst_video_frame_map (&frame, &overlay->info, video_frame,
+           GST_MAP_READWRITE))
+     goto invalid_frame;
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch new file +35 -0
new file mode 100644
index 00000000..e628bf90
@@ -0,0 +1,35 @@
+From 9444e647142d69b5381bb1225700e335312b1144 Mon Sep 17 00:00:00 2001
+From: Mingke Wang <[email protected]>
+Date: Thu, 19 Mar 2015 14:15:25 +0800
+Subject: [PATCH 02/16] gstplaysink: don't set async of custom text-sink to
+ false
+
+set async to false lead to A/V sync problem when seeking.
+the preroll need use GAP event instead of set async to false.
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Mingke Wang <[email protected]>
+---
+ gst/playback/gstplaysink.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+ mode change 100644 => 100755 gst/playback/gstplaysink.c
+
+diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
+old mode 100644
+new mode 100755
+index ead2e68..3f62769
+--- a/gst/playback/gstplaysink.c
++++ b/gst/playback/gstplaysink.c
+@@ -2456,7 +2456,7 @@ gen_text_chain (GstPlaySink * playsink)
+           G_TYPE_BOOLEAN);
+       if (elem) {
+         /* make sure the sparse subtitles don't participate in the preroll */
+-        g_object_set (elem, "async", FALSE, NULL);
++        //g_object_set (elem, "async", FALSE, NULL);
+         GST_DEBUG_OBJECT (playsink, "adding custom text sink");
+         gst_bin_add (bin, chain->sink);
+         /* NOTE streamsynchronizer needs streams decoupled */
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-gstplaybin-remove-default-deinterlace-flag.patch new file +31 -0
new file mode 100644
index 00000000..64b45fdd
@@ -0,0 +1,31 @@
+From 14dc47b7e6e118d06ad4e7ed29284984b3fae248 Mon Sep 17 00:00:00 2001
+From: Jian Li <[email protected]>
+Date: Mon, 23 Jun 2014 14:14:07 +0800
+Subject: [PATCH 06/16] gstplaybin remove default deinterlace flag
+
+- remove default deinterlace flag in playbin for i.MX SoCs
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Jian Li <[email protected]>
+---
+ gst/playback/gstplaybin2.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
+index 04eeb2b..09b7ad2 100644
+--- a/gst/playback/gstplaybin2.c
++++ b/gst/playback/gstplaybin2.c
+@@ -500,8 +500,7 @@ struct _GstPlayBinClass
+ #define DEFAULT_SUBURI            NULL
+ #define DEFAULT_SOURCE            NULL
+ #define DEFAULT_FLAGS             GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \
+-                                  GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \
+-                                  GST_PLAY_FLAG_SOFT_COLORBALANCE
++                                  GST_PLAY_FLAG_SOFT_VOLUME
+ #define DEFAULT_N_VIDEO           0
+ #define DEFAULT_CURRENT_VIDEO     -1
+ #define DEFAULT_N_AUDIO           0
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0006-taglist-not-send-to-down-stream-if-all-the-frame-cor.patch new file +58 -0

58 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0007-handle-audio-video-decoder-error.patch new file +66 -0

66 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0008-gstaudiobasesink-print-warning-istead-of-return-ERRO.patch new file +47 -0

47 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch new file +58 -0

58 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0010-MMFMWK-7259-Remove-dependence-on-imx-plugin-git.patch new file +433 -0

433 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0011-Disable-orc-optimization-for-lib-video-in-plugins-ba.patch new file +34 -0
new file mode 100644
index 00000000..69e1c9a3
@@ -0,0 +1,34 @@
+From 0100444aa707053fb65bea26feffb5de90909b60 Mon Sep 17 00:00:00 2001
+From: Lyon Wang <[email protected]>
+Date: Thu, 10 Dec 2015 14:32:43 +0800
+Subject: [PATCH 12/16] Disable orc optimization for lib video in plugins-base
+
+- the orc optimization for lib video in plugins base may
+cause segmentation fault
+- disalbe orc optimization for lib video and just use the c source
+
+package:  gstreamer1.0-plugins-base
+
+Upstream-Status: Pending [https://bugzilla.gnome.org/show_bug.cgi?id=759286]
+
+Signed-off-by: Lyon Wang <[email protected]>
+---
+ gst-libs/gst/video/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
+index 64f4978..a197a2f 100644
+--- a/gst-libs/gst/video/Makefile.am
++++ b/gst-libs/gst/video/Makefile.am
+@@ -90,7 +90,7 @@ nodist_libgstvideo_@GST_API_VERSION@include_HEADERS = $(built_headers)
+ noinst_HEADERS = gstvideoutilsprivate.h
+ 
+ libgstvideo_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
+-					$(ORC_CFLAGS)
++					$(ORC_CFLAGS) -DDISABLE_ORC
+ libgstvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM)
+ libgstvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0012-Remove-phymem-allocator-from-base-to-bad.patch new file +37 -0
new file mode 100644
index 00000000..5d3aaf94
@@ -0,0 +1,37 @@
+From 2ad9aa1c62ff7b7772862ace35dd03bfae3f0fce Mon Sep 17 00:00:00 2001
+From: Haihua Hu <[email protected]>
+Date: Thu, 25 May 2017 11:31:46 +0800
+Subject: [PATCH 16/16] Remove phymem allocator from base to bad
+
+Upstream-Status: Inappropriate [i.MX specific]
+---
+ gst-libs/gst/allocators/Makefile.am | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am
+index 1955436..1c5680b 100644
+--- a/gst-libs/gst/allocators/Makefile.am
++++ b/gst-libs/gst/allocators/Makefile.am
+@@ -5,8 +5,7 @@ libgstallocators_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API
+ libgstallocators_@GST_API_VERSION@_include_HEADERS = \
+ 	allocators.h \
+ 	gstfdmemory.h \
+-	gstdmabuf.h \
+-	gstallocatorphymem.h
++	gstdmabuf.h
+ 
+ if USE_ION
+ libgstallocators_@GST_API_VERSION@_include_HEADERS += \
+@@ -17,8 +16,7 @@ noinst_HEADERS =
+ 
+ libgstallocators_@GST_API_VERSION@_la_SOURCES = \
+ 	gstfdmemory.c \
+-	gstdmabuf.c \
+-	gstallocatorphymem.c
++	gstdmabuf.c
+ 
+ if USE_ION
+ libgstallocators_@GST_API_VERSION@_la_SOURCES += \
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0013-dmabuf-set-fd-memory-to-keep-mapped.patch new file +30 -0
new file mode 100644
index 00000000..da3df632
@@ -0,0 +1,30 @@
+From 59a4c4584f732eea055267971013909816287311 Mon Sep 17 00:00:00 2001
+From: Song Bing <[email protected]>
+Date: Wed, 13 Sep 2017 13:37:17 -0800
+Subject: [PATCH 4/4] dmabuf: set fd memory to keep mapped
+
+set fd memory to keep mapped.
+
+Upstream-Status: Pending
+
+https://bugzilla.gnome.org/show_bug.cgi?id=768794
+---
+ gst-libs/gst/allocators/gstdmabuf.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst-libs/gst/allocators/gstdmabuf.c b/gst-libs/gst/allocators/gstdmabuf.c
+index 7d6bcab..89bb447 100644
+--- a/gst-libs/gst/allocators/gstdmabuf.c
++++ b/gst-libs/gst/allocators/gstdmabuf.c
+@@ -95,7 +95,7 @@ gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size)
+ {
+   g_return_val_if_fail (GST_IS_DMABUF_ALLOCATOR (allocator), NULL);
+ 
+-  return gst_fd_allocator_alloc (allocator, fd, size, GST_FD_MEMORY_FLAG_NONE);
++  return gst_fd_allocator_alloc (allocator, fd, size, GST_FD_MEMORY_FLAG_KEEP_MAPPED);
+ }
+ 
+ /**
+-- 
+2.7.4
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0014-fdmemory-need-unmap-if-mapping-flags-are-not-subset-.patch new file +36 -0
new file mode 100644
index 00000000..a986d220
@@ -0,0 +1,36 @@
+From bbce23ade0d17c7ef4dbd6042009e0f2419f9668 Mon Sep 17 00:00:00 2001
+From: Haihua Hu <[email protected]>
+Date: Mon, 6 Nov 2017 15:05:47 +0800
+Subject: [PATCH] fdmemory: need unmap if mapping flags are not subset of
+ previous
+
+Upstream-Status: Pending
+https://bugzilla.gnome.org/show_bug.cgi?id=789952
+
+---
+ gst-libs/gst/allocators/gstfdmemory.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/gst-libs/gst/allocators/gstfdmemory.c b/gst-libs/gst/allocators/gstfdmemory.c
+index ad428a7..1e6125a 100644
+--- a/gst-libs/gst/allocators/gstfdmemory.c
++++ b/gst-libs/gst/allocators/gstfdmemory.c
+@@ -97,9 +97,13 @@ gst_fd_mem_map (GstMemory * gmem, gsize maxsize, GstMapFlags flags)
+     if ((mem->mmapping_flags & prot) == prot) {
+       ret = mem->data;
+       mem->mmap_count++;
++      goto out;
++    } else {
++      /* if mapping flags is not a subset, need unmap first */
++      munmap ((void *) mem->data, gmem->maxsize);
++      mem->data = NULL;
++      mem->mmap_count = 0;;
+     }
+-
+-    goto out;
+   }
+ 
+   if (mem->fd != -1) {
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0015-basetextoverlay-need-avoid-idx-exceed-me.patch new file +34 -0
new file mode 100644
index 00000000..5fdc93c3
@@ -0,0 +1,34 @@
+From f11ab0f14638d21b6e48bff3fd63aaaa0689f21d Mon Sep 17 00:00:00 2001
+From: Haihua Hu <[email protected]>
+Date: Thu, 30 Nov 2017 17:43:20 +0800
+Subject: [PATCH] [MMFMWK-7786] basetextoverlay: need avoid idx exceed memory
+ block number
+
+when check whether video buffer is read only, the gst_buffer_get_memory call
+should make sure idx don't exceed the total memory block number
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Haihua Hu <[email protected]>
+---
+ ext/pango/gstbasetextoverlay.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c
+index 7e32904..d2bbbee 100755
+--- a/ext/pango/gstbasetextoverlay.c
++++ b/ext/pango/gstbasetextoverlay.c
+@@ -2248,7 +2248,9 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
+   gboolean mem_rdonly = FALSE;
+   GstMemory *mem;
+ 
+-  while (mem = gst_buffer_get_memory(video_frame, idx++)) {
++  gint n_mem = gst_buffer_n_memory (video_frame);
++
++  while (idx < n_mem && (mem = gst_buffer_get_memory(video_frame, idx++))) {
+     if (GST_MEMORY_IS_READONLY(mem)) {
+       gst_memory_unref (mem);
+       mem_rdonly = TRUE;
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.%.bbappend new file +24 -0
new file mode 100644
index 00000000..6c3405f1
@@ -0,0 +1,24 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# ion allocator will be enabled only when detecting that ion.h exists, which
+# is built out from kernel. For now, ion allocator is supported on mx7ulp.
+DEPENDS_append_mx7ulp = " virtual/kernel"
+
+SRC_URI_IMX_PATCHES = " \
+    file://0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch \
+    file://0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch \
+    file://0005-gstplaybin-remove-default-deinterlace-flag.patch \
+    file://0006-taglist-not-send-to-down-stream-if-all-the-frame-cor.patch \
+    file://0007-handle-audio-video-decoder-error.patch \
+    file://0008-gstaudiobasesink-print-warning-istead-of-return-ERRO.patch \
+    file://0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch \
+    file://0010-MMFMWK-7259-Remove-dependence-on-imx-plugin-git.patch \
+    file://0011-Disable-orc-optimization-for-lib-video-in-plugins-ba.patch \
+    file://0012-Remove-phymem-allocator-from-base-to-bad.patch \
+    file://0013-dmabuf-set-fd-memory-to-keep-mapped.patch \
+    file://0014-fdmemory-need-unmap-if-mapping-flags-are-not-subset-.patch \
+    file://0015-basetextoverlay-need-avoid-idx-exceed-me.patch \
+"
+
+SRC_URI_append_mx6 = "${SRC_URI_IMX_PATCHES}"
+SRC_URI_append_mx7 = "${SRC_URI_IMX_PATCHES}"
Signature · 1 line
2.13.6
#4 lore raw

PATCH v3 5/6 gstreamer1.0-plugins-bad: Add NXP specific patches

In reply to Stefan Agner

From: Stefan Agner <[email protected]>

Add NXP specific patches from morty-4.9.51-mx8_beta branch. This allows to use imx-gst1.0-plugin 4.3.1 with gstreamer 1.12.2.

---
 ...pegtsmux-Need-get-pid-when-create-streams.patch |  44 ++
 ...rse-Need-detect-picture-coding-type-when-.patch |  47 ++
 .../0003-modifiy-the-videoparse-rank.patch         |  77 +++
 ...ter-Lost-frame-rate-info-when-fixate-caps.patch |  51 ++
 ...dd-one-property-to-set-sink-element-for-v.patch | 181 ++++++
 ...or-gl-plugin-not-built-in-wayland-backend.patch |  34 +
 ...07-Change-wayland-default-res-to-1024x768.patch |  41 ++
 ...wayland-fix-loop-test-hang-in-glimagesink.patch | 142 +++++
 ...sink-wayland-resize-showed-blurred-screen.patch |  32 +
 .../0010-support-video-crop-for-glimagesink.patch  | 151 +++++
 .../0011-Add-fps-print-in-glimagesink.patch        |  86 +++
 ...rconvert-convert-YUV-to-RGB-use-directviv.patch | 168 +++++
 ...mpositor-Remove-output-format-alpha-check.patch |  35 ++
 .../0014-Specific-patches-for-gstplayer-API.patch  | 367 +++++++++++
 ...15-gstplayer-Add-gst_player_get_state-API.patch |  63 ++
 .../0016-gstplayer-Add-play-stop-sync-API.patch    | 182 ++++++
 .../0018-Add-imx-physical-memory-allocator.patch   | 443 +++++++++++++
 ...nt-of-interface-get_phys_addr-to-support-.patch |  48 ++
 ...0020-Accelerate-gldownload-with-directviv.patch | 698 +++++++++++++++++++++
 ...mabuf-memory-allocator-based-on-ion-drive.patch | 390 ++++++++++++
 .../0022-ionmemory-support-get-phys-memory.patch   |  94 +++
 ...d-add-crop-meta-support-in-dmafd-uploader.patch |  52 ++
 ...upload-add-ion-dmabuf-support-in-glupload.patch | 477 ++++++++++++++
 ...0025-Add-ion-dmabuf-support-in-gldownload.patch | 473 ++++++++++++++
 ...er-check-frame-buffer-status-need-use-spe.patch | 132 ++++
 ...-add-EGL-platform-support-for-x11-backend.patch |  63 ++
 ...-kmssink-use-control-node-to-setplane-to-.patch | 108 ++++
 ...29-kmssink-support-videooverlay-interface.patch | 343 ++++++++++
 ...030-kmssink-check-scaleable-when-set_caps.patch |  74 +++
 ...-glimagesink-fix-segmentation-fault-when-.patch |  35 ++
 ...-gl-viv-fb-fix-wrong-pos-x-y-calculate-in.patch |  52 ++
 ...-gl-viv-fb-transform-screen-coordinate-to.patch |  52 ++
 ...-glimagesink-expose-should-do-redisplay-a.patch |  37 ++
 ...-videoaggregator-passthrough-interlace-mo.patch |  99 +++
 ...-glvideomixer-need-update-output-geometry.patch |  83 +++
 ...-gleglimage-fix-YUY2-import-error-when-up.patch |  30 +
 ...-glupload-need-upload-each-plane-to-singl.patch | 101 +++
 .../gstreamer1.0-plugins-bad_1.12.%.bbappend       |  60 ++
 38 files changed, 5645 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mpegtsmux-Need-get-pid-when-create-streams.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-mpegvideoparse-Need-detect-picture-coding-type-when-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-modifiy-the-videoparse-rank.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glfilter-Lost-frame-rate-info-when-fixate-caps.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-camerabin-Add-one-property-to-set-sink-element-for-v.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-Fix-for-gl-plugin-not-built-in-wayland-backend.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-Change-wayland-default-res-to-1024x768.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-wayland-fix-loop-test-hang-in-glimagesink.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0009-Fix-glimagesink-wayland-resize-showed-blurred-screen.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-support-video-crop-for-glimagesink.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0011-Add-fps-print-in-glimagesink.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0012-glcolorconvert-convert-YUV-to-RGB-use-directviv.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0013-videocompositor-Remove-output-format-alpha-check.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0014-Specific-patches-for-gstplayer-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0015-gstplayer-Add-gst_player_get_state-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0016-gstplayer-Add-play-stop-sync-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0018-Add-imx-physical-memory-allocator.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0019-Add-implement-of-interface-get_phys_addr-to-support-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0020-Accelerate-gldownload-with-directviv.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0021-ionmemory-dmabuf-memory-allocator-based-on-ion-drive.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0022-ionmemory-support-get-phys-memory.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0023-glupload-add-crop-meta-support-in-dmafd-uploader.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0024-glupload-add-ion-dmabuf-support-in-glupload.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0025-Add-ion-dmabuf-support-in-gldownload.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0026-glframebuffer-check-frame-buffer-status-need-use-spe.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0027-qml-add-EGL-platform-support-for-x11-backend.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0028-kmssink-use-control-node-to-setplane-to-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0029-kmssink-support-videooverlay-interface.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0030-kmssink-check-scaleable-when-set_caps.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0031-glimagesink-fix-segmentation-fault-when-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0032-gl-viv-fb-fix-wrong-pos-x-y-calculate-in.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0033-gl-viv-fb-transform-screen-coordinate-to.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0034-glimagesink-expose-should-do-redisplay-a.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0035-videoaggregator-passthrough-interlace-mo.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0036-glvideomixer-need-update-output-geometry.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0037-gleglimage-fix-YUY2-import-error-when-up.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0038-glupload-need-upload-each-plane-to-singl.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mpegtsmux-Need-get-pid-when-create-streams.patch new file +44 -0
new file mode 100644
index 00000000..4e5a455d
@@ -0,0 +1,44 @@
+From 0d97f9e8693a498d10ea9ad68caa4f6305c1114e Mon Sep 17 00:00:00 2001
+From: Song Bing <[email protected]>
+Date: Wed, 22 Apr 2015 18:06:35 +0800
+Subject: [PATCH 01/26] mpegtsmux: Need get pid when create streams.
+
+when camerabin use mpegtsmux as muxer, start video recording and then
+stop video recording and then start video recording, mpegtsmux get wrong
+pid.
+
+Upstream-Status: Pending [https://bugzilla.gnome.org/show_bug.cgi?id=748288]
+
+---
+ gst/mpegtsmux/mpegtsmux.c | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
+index 67c2b72..cfd7c2a 100644
+--- a/gst/mpegtsmux/mpegtsmux.c
++++ b/gst/mpegtsmux/mpegtsmux.c
+@@ -833,6 +833,21 @@ mpegtsmux_create_streams (MpegTsMux * mux)
+       } else {
+         ts_data->prog_id = DEFAULT_PROG_ID;
+       }
++
++      if (!ts_data->pid) {
++        gint pid = -1;
++
++        name = GST_PAD_NAME (c_data->pad);
++        if (name != NULL && sscanf (name, "sink_%d", &pid) == 1) {
++          if (tsmux_find_stream (mux->tsmux, pid)) {
++            GST_WARNING_OBJECT (mux, "Duplicate PID");
++          }
++        } else {
++          pid = tsmux_get_new_pid (mux->tsmux);
++        }
++
++        ts_data->pid = pid;
++      }
+     }
+ 
+     ts_data->prog =
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-mpegvideoparse-Need-detect-picture-coding-type-when-.patch new file +47 -0

47 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-modifiy-the-videoparse-rank.patch new file +77 -0

77 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glfilter-Lost-frame-rate-info-when-fixate-caps.patch new file +51 -0

51 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-camerabin-Add-one-property-to-set-sink-element-for-v.patch new file +181 -0

181 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-Fix-for-gl-plugin-not-built-in-wayland-backend.patch new file +34 -0
new file mode 100644
index 00000000..a1eb7060
@@ -0,0 +1,34 @@
+From 3015f801add8e0d004954d5e76ee9d8dcb6b88f6 Mon Sep 17 00:00:00 2001
+From: Jian <[email protected]>
+Date: Fri, 24 Apr 2015 17:12:02 +0800
+Subject: [PATCH 06/26] Fix for gl plugin not built in wayland backend
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Jian <[email protected]>
+
+Conflicts:
+	configure.ac
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index b0a5b2a..8a05495 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -776,7 +776,7 @@ case $host in
+     LIBS=$old_LIBS
+     CFLAGS=$old_CFLAGS
+ 
+-    PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 9.0, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no)
++    PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 1.0, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no)
+ 
+     # OS X and iOS always have GL available
+     case $host in
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-Change-wayland-default-res-to-1024x768.patch new file +41 -0

41 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-wayland-fix-loop-test-hang-in-glimagesink.patch new file +142 -0

142 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0009-Fix-glimagesink-wayland-resize-showed-blurred-screen.patch new file +32 -0
new file mode 100644
index 00000000..ba85cc92
@@ -0,0 +1,32 @@
+From 60647b7ab90b2efdbfb9c342be8acfde94d12fad Mon Sep 17 00:00:00 2001
+From: Haihua Hu <[email protected]>
+Date: Tue, 8 Dec 2015 16:06:34 +0800
+Subject: [PATCH 09/26] Fix glimagesink wayland resize showed blurred screen
+
+For imx, wl_egl_window type is not a wl_proxy object. Can not set
+queue to wl_egl_window object.
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Haihua Hu <[email protected]>
+---
+ gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
+index 326e051..c6a4d19 100644
+--- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
++++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
+@@ -325,9 +325,6 @@ create_surfaces (GstGLWindowWaylandEGL * window_egl)
+ 
+     window_egl->window.native =
+         wl_egl_window_create (window_egl->window.surface, width, height);
+-    if (window_egl->window.surface_queue)
+-      wl_proxy_set_queue ((struct wl_proxy *) window_egl->window.native,
+-          window_egl->window.surface_queue);
+   }
+ }
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-support-video-crop-for-glimagesink.patch new file +151 -0

151 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0011-Add-fps-print-in-glimagesink.patch new file +86 -0

86 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0012-glcolorconvert-convert-YUV-to-RGB-use-directviv.patch new file +168 -0

168 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0013-videocompositor-Remove-output-format-alpha-check.patch new file +35 -0
new file mode 100644
index 00000000..eb7e132f
@@ -0,0 +1,35 @@
+From cd2d0769aaf242ecb24e18b7acc027bfb846b7c8 Mon Sep 17 00:00:00 2001
+From: Song Bing <[email protected]>
+Date: Tue, 16 Aug 2016 13:11:57 +0800
+Subject: [PATCH 13/26] videocompositor: Remove output format alpha check
+
+Remove output format alpha check, or output without alpha will
+fail if input has alpha.
+
+Upstream-Status: Pending
+
+https://bugzilla.gnome.org/show_bug.cgi?id=769962
+---
+ gst-libs/gst/video/gstvideoaggregator.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c
+index 1616b27..a987c15 100644
+--- a/gst-libs/gst/video/gstvideoaggregator.c
++++ b/gst-libs/gst/video/gstvideoaggregator.c
+@@ -781,11 +781,9 @@ gst_video_aggregator_update_src_caps (GstVideoAggregator * vagg)
+       g_return_val_if_fail (finfo != NULL, FALSE);
+ 
+       if (at_least_one_alpha && !(finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)) {
+-        GST_ELEMENT_ERROR (vagg, CORE, NEGOTIATION,
++        GST_WARNING_OBJECT (vagg,
+             ("At least one of the input pads contains alpha, but configured caps don't support alpha."),
+             ("Either convert your inputs to not contain alpha or add a videoconvert after the aggregator"));
+-        ret = FALSE;
+-        goto done;
+       }
+     }
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0014-Specific-patches-for-gstplayer-API.patch new file +367 -0

367 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0015-gstplayer-Add-gst_player_get_state-API.patch new file +63 -0

63 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0016-gstplayer-Add-play-stop-sync-API.patch new file +182 -0

182 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0018-Add-imx-physical-memory-allocator.patch new file +443 -0

443 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0019-Add-implement-of-interface-get_phys_addr-to-support-.patch new file +48 -0

48 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0020-Accelerate-gldownload-with-directviv.patch new file +698 -0

698 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0021-ionmemory-dmabuf-memory-allocator-based-on-ion-drive.patch new file +390 -0

110 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0022-ionmemory-support-get-phys-memory.patch new file +94 -0

94 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0023-glupload-add-crop-meta-support-in-dmafd-uploader.patch new file +52 -0

52 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0024-glupload-add-ion-dmabuf-support-in-glupload.patch new file +477 -0

477 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0025-Add-ion-dmabuf-support-in-gldownload.patch new file +473 -0

473 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0026-glframebuffer-check-frame-buffer-status-need-use-spe.patch new file +132 -0

132 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0027-qml-add-EGL-platform-support-for-x11-backend.patch new file +63 -0

63 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0028-kmssink-use-control-node-to-setplane-to-.patch new file +108 -0

108 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0029-kmssink-support-videooverlay-interface.patch new file +343 -0

343 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0030-kmssink-check-scaleable-when-set_caps.patch new file +74 -0

74 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0031-glimagesink-fix-segmentation-fault-when-.patch new file +35 -0
new file mode 100644
index 00000000..cbec6d13

Lines of this file are not shown. View the raw message.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0032-gl-viv-fb-fix-wrong-pos-x-y-calculate-in.patch new file +52 -0

52 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0033-gl-viv-fb-transform-screen-coordinate-to.patch new file +52 -0

52 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0034-glimagesink-expose-should-do-redisplay-a.patch new file +37 -0
new file mode 100644
index 00000000..9226727b

Lines of this file are not shown. View the raw message.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0035-videoaggregator-passthrough-interlace-mo.patch new file +99 -0

99 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0036-glvideomixer-need-update-output-geometry.patch new file +83 -0

83 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0037-gleglimage-fix-YUY2-import-error-when-up.patch new file +30 -0
new file mode 100644
index 00000000..3c2159cd

Lines of this file are not shown. View the raw message.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0038-glupload-need-upload-each-plane-to-singl.patch new file +101 -0

101 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.%.bbappend +60 -0

60 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.13.6

Part of the diff is not shown here. View the raw message.

#5 lore raw

Re: [PATCH v3 5/6] gstreamer1.0-plugins-bad: Add NXP specific patches

Hi Stefan,

We've switched to use i.MX fork of GST for L4.9.51_MX8MQ Beta release , all patches are put into this external fork, no need to do extra patch integration.

And we are preparing the upstream now.

B.R.
Carol

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefan Agner
Sent: Thursday, December 21, 2017 1:10 AM
To: [email protected]
Cc: Stefan Agner <[email protected]>
Subject: [meta-freescale] [PATCH v3 5/6] gstreamer1.0-plugins-bad: Add NXP specific patches

From: Stefan Agner <[email protected]>

Add NXP specific patches from morty-4.9.51-mx8_beta branch. This allows to use imx-gst1.0-plugin 4.3.1 with gstreamer 1.12.2.

---
 ...pegtsmux-Need-get-pid-when-create-streams.patch |  44 ++
 ...rse-Need-detect-picture-coding-type-when-.patch |  47 ++
 .../0003-modifiy-the-videoparse-rank.patch         |  77 +++
 ...ter-Lost-frame-rate-info-when-fixate-caps.patch |  51 ++
 ...dd-one-property-to-set-sink-element-for-v.patch | 181 ++++++
 ...or-gl-plugin-not-built-in-wayland-backend.patch |  34 +
 ...07-Change-wayland-default-res-to-1024x768.patch |  41 ++
 ...wayland-fix-loop-test-hang-in-glimagesink.patch | 142 +++++
 ...sink-wayland-resize-showed-blurred-screen.patch |  32 +
 .../0010-support-video-crop-for-glimagesink.patch  | 151 +++++
 .../0011-Add-fps-print-in-glimagesink.patch        |  86 +++
 ...rconvert-convert-YUV-to-RGB-use-directviv.patch | 168 +++++
 ...mpositor-Remove-output-format-alpha-check.patch |  35 ++
 .../0014-Specific-patches-for-gstplayer-API.patch  | 367 +++++++++++
 ...15-gstplayer-Add-gst_player_get_state-API.patch |  63 ++
 .../0016-gstplayer-Add-play-stop-sync-API.patch    | 182 ++++++
 .../0018-Add-imx-physical-memory-allocator.patch   | 443 +++++++++++++
 ...nt-of-interface-get_phys_addr-to-support-.patch |  48 ++
 ...0020-Accelerate-gldownload-with-directviv.patch | 698 +++++++++++++++++++++
 ...mabuf-memory-allocator-based-on-ion-drive.patch | 390 ++++++++++++
 .../0022-ionmemory-support-get-phys-memory.patch   |  94 +++
 ...d-add-crop-meta-support-in-dmafd-uploader.patch |  52 ++
 ...upload-add-ion-dmabuf-support-in-glupload.patch | 477 ++++++++++++++
 ...0025-Add-ion-dmabuf-support-in-gldownload.patch | 473 ++++++++++++++
 ...er-check-frame-buffer-status-need-use-spe.patch | 132 ++++
 ...-add-EGL-platform-support-for-x11-backend.patch |  63 ++
 ...-kmssink-use-control-node-to-setplane-to-.patch | 108 ++++
 ...29-kmssink-support-videooverlay-interface.patch | 343 ++++++++++
 ...030-kmssink-check-scaleable-when-set_caps.patch |  74 +++
 ...-glimagesink-fix-segmentation-fault-when-.patch |  35 ++
 ...-gl-viv-fb-fix-wrong-pos-x-y-calculate-in.patch |  52 ++
 ...-gl-viv-fb-transform-screen-coordinate-to.patch |  52 ++
 ...-glimagesink-expose-should-do-redisplay-a.patch |  37 ++
 ...-videoaggregator-passthrough-interlace-mo.patch |  99 +++
 ...-glvideomixer-need-update-output-geometry.patch |  83 +++
 ...-gleglimage-fix-YUY2-import-error-when-up.patch |  30 +
 ...-glupload-need-upload-each-plane-to-singl.patch | 101 +++
 .../gstreamer1.0-plugins-bad_1.12.%.bbappend       |  60 ++
 38 files changed, 5645 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mpegtsmux-Need-get-pid-when-create-streams.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-mpegvideoparse-Need-detect-picture-coding-type-when-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-modifiy-the-videoparse-rank.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glfilter-Lost-frame-rate-info-when-fixate-caps.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-camerabin-Add-one-property-to-set-sink-element-for-v.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-Fix-for-gl-plugin-not-built-in-wayland-backend.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-Change-wayland-default-res-to-1024x768.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-wayland-fix-loop-test-hang-in-glimagesink.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0009-Fix-glimagesink-wayland-resize-showed-blurred-screen.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-support-video-crop-for-glimagesink.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0011-Add-fps-print-in-glimagesink.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0012-glcolorconvert-convert-YUV-to-RGB-use-directviv.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0013-videocompositor-Remove-output-format-alpha-check.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0014-Specific-patches-for-gstplayer-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0015-gstplayer-Add-gst_player_get_state-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0016-gstplayer-Add-play-stop-sync-API.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0018-Add-imx-physical-memory-allocator.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0019-Add-implement-of-interface-get_phys_addr-to-support-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0020-Accelerate-gldownload-with-directviv.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0021-ionmemory-dmabuf-memory-allocator-based-on-ion-drive.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0022-ionmemory-support-get-phys-memory.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0023-glupload-add-crop-meta-support-in-dmafd-uploader.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0024-glupload-add-ion-dmabuf-support-in-glupload.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0025-Add-ion-dmabuf-support-in-gldownload.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0026-glframebuffer-check-frame-buffer-status-need-use-spe.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0027-qml-add-EGL-platform-support-for-x11-backend.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0028-kmssink-use-control-node-to-setplane-to-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0029-kmssink-support-videooverlay-interface.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0030-kmssink-check-scaleable-when-set_caps.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0031-glimagesink-fix-segmentation-fault-when-.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0032-gl-viv-fb-fix-wrong-pos-x-y-calculate-in.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0033-gl-viv-fb-transform-screen-coordinate-to.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0034-glimagesink-expose-should-do-redisplay-a.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0035-videoaggregator-passthrough-interlace-mo.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0036-glvideomixer-need-update-output-geometry.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0037-gleglimage-fix-YUY2-import-error-when-up.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0038-glupload-need-upload-each-plane-to-singl.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mpegtsmux-Need-get-pid-when-create-streams.patch new file +44 -0
new file mode 100644
index 00000000..4e5a455d
@@ -0,0 +1,44 @@
+From 0d97f9e8693a498d10ea9ad68caa4f6305c1114e Mon Sep 17 00:00:00 2001
+From: Song Bing <[email protected]>
+Date: Wed, 22 Apr 2015 18:06:35 +0800
+Subject: [PATCH 01/26] mpegtsmux: Need get pid when create streams.
+
+when camerabin use mpegtsmux as muxer, start video recording and then
+stop video recording and then start video recording, mpegtsmux get wrong
+pid.
+
+Upstream-Status: Pending [https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.gnome.org%2Fshow_bug.cgi%3Fid%3D748288&data=02%7C01%7Ccarol.zhu%40nxp.com%7Cf262c988ddc64ee8b27a08d547cdb7d6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636493871529936748&sdata=IY6OmaRd82n5jWzepfUVkiF9YzOMyxmbekwVHvOWXwA%3D&reserved=0]
+
+---
+ gst/mpegtsmux/mpegtsmux.c | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
+index 67c2b72..cfd7c2a 100644
+--- a/gst/mpegtsmux/mpegtsmux.c
++++ b/gst/mpegtsmux/mpegtsmux.c
+@@ -833,6 +833,21 @@ mpegtsmux_create_streams (MpegTsMux * mux)
+       } else {
+         ts_data->prog_id = DEFAULT_PROG_ID;
+       }
++
++      if (!ts_data->pid) {
++        gint pid = -1;
++
++        name = GST_PAD_NAME (c_data->pad);
++        if (name != NULL && sscanf (name, "sink_%d", &pid) == 1) {
++          if (tsmux_find_stream (mux->tsmux, pid)) {
++            GST_WARNING_OBJECT (mux, "Duplicate PID");
++          }
++        } else {
++          pid = tsmux_get_new_pid (mux->tsmux);
++        }
++
++        ts_data->pid = pid;
++      }
+     }
+ 
+     ts_data->prog =
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-mpegvideoparse-Need-detect-picture-coding-type-when-.patch new file +47 -0

47 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-modifiy-the-videoparse-rank.patch new file +77 -0

77 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glfilter-Lost-frame-rate-info-when-fixate-caps.patch new file +51 -0

51 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-camerabin-Add-one-property-to-set-sink-element-for-v.patch new file +181 -0

181 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-Fix-for-gl-plugin-not-built-in-wayland-backend.patch new file +34 -0
new file mode 100644
index 00000000..a1eb7060
@@ -0,0 +1,34 @@
+From 3015f801add8e0d004954d5e76ee9d8dcb6b88f6 Mon Sep 17 00:00:00 2001
+From: Jian <[email protected]>
+Date: Fri, 24 Apr 2015 17:12:02 +0800
+Subject: [PATCH 06/26] Fix for gl plugin not built in wayland backend
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Jian <[email protected]>
+
+Conflicts:
+	configure.ac
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index b0a5b2a..8a05495 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -776,7 +776,7 @@ case $host in
+     LIBS=$old_LIBS
+     CFLAGS=$old_CFLAGS
+ 
+-    PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 9.0, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no)
++    PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 1.0, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no)
+ 
+     # OS X and iOS always have GL available
+     case $host in
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-Change-wayland-default-res-to-1024x768.patch new file +41 -0

41 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-gl-wayland-fix-loop-test-hang-in-glimagesink.patch new file +142 -0

142 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0009-Fix-glimagesink-wayland-resize-showed-blurred-screen.patch new file +32 -0
new file mode 100644
index 00000000..ba85cc92
@@ -0,0 +1,32 @@
+From 60647b7ab90b2efdbfb9c342be8acfde94d12fad Mon Sep 17 00:00:00 2001
+From: Haihua Hu <[email protected]>
+Date: Tue, 8 Dec 2015 16:06:34 +0800
+Subject: [PATCH 09/26] Fix glimagesink wayland resize showed blurred screen
+
+For imx, wl_egl_window type is not a wl_proxy object. Can not set
+queue to wl_egl_window object.
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Haihua Hu <[email protected]>
+---
+ gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
+index 326e051..c6a4d19 100644
+--- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
++++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
+@@ -325,9 +325,6 @@ create_surfaces (GstGLWindowWaylandEGL * window_egl)
+ 
+     window_egl->window.native =
+         wl_egl_window_create (window_egl->window.surface, width, height);
+-    if (window_egl->window.surface_queue)
+-      wl_proxy_set_queue ((struct wl_proxy *) window_egl->window.native,
+-          window_egl->window.surface_queue);
+   }
+ }
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-support-video-crop-for-glimagesink.patch new file +151 -0

151 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0011-Add-fps-print-in-glimagesink.patch new file +86 -0

86 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0012-glcolorconvert-convert-YUV-to-RGB-use-directviv.patch new file +168 -0

168 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0013-videocompositor-Remove-output-format-alpha-check.patch new file +35 -0
new file mode 100644
index 00000000..eb7e132f
@@ -0,0 +1,35 @@
+From cd2d0769aaf242ecb24e18b7acc027bfb846b7c8 Mon Sep 17 00:00:00 2001
+From: Song Bing <[email protected]>
+Date: Tue, 16 Aug 2016 13:11:57 +0800
+Subject: [PATCH 13/26] videocompositor: Remove output format alpha check
+
+Remove output format alpha check, or output without alpha will
+fail if input has alpha.
+
+Upstream-Status: Pending
+
+https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.gnome.org%2Fshow_bug.cgi%3Fid%3D769962&data=02%7C01%7Ccarol.zhu%40nxp.com%7Cf262c988ddc64ee8b27a08d547cdb7d6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636493871529936748&sdata=iYJWHLp%2FWEU%2FIjcAa0uzQqqahH1w9RJSz2LAIKpMsSs%3D&reserved=0
+---
+ gst-libs/gst/video/gstvideoaggregator.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c
+index 1616b27..a987c15 100644
+--- a/gst-libs/gst/video/gstvideoaggregator.c
++++ b/gst-libs/gst/video/gstvideoaggregator.c
+@@ -781,11 +781,9 @@ gst_video_aggregator_update_src_caps (GstVideoAggregator * vagg)
+       g_return_val_if_fail (finfo != NULL, FALSE);
+ 
+       if (at_least_one_alpha && !(finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA)) {
+-        GST_ELEMENT_ERROR (vagg, CORE, NEGOTIATION,
++        GST_WARNING_OBJECT (vagg,
+             ("At least one of the input pads contains alpha, but configured caps don't support alpha."),
+             ("Either convert your inputs to not contain alpha or add a videoconvert after the aggregator"));
+-        ret = FALSE;
+-        goto done;
+       }
+     }
+ 
+-- 
+1.9.1
+
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0014-Specific-patches-for-gstplayer-API.patch new file +367 -0

367 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0015-gstplayer-Add-gst_player_get_state-API.patch new file +63 -0

63 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0016-gstplayer-Add-play-stop-sync-API.patch new file +182 -0

182 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0018-Add-imx-physical-memory-allocator.patch new file +443 -0

443 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0019-Add-implement-of-interface-get_phys_addr-to-support-.patch new file +48 -0

48 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0020-Accelerate-gldownload-with-directviv.patch new file +698 -0

698 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0021-ionmemory-dmabuf-memory-allocator-based-on-ion-drive.patch new file +390 -0

110 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0022-ionmemory-support-get-phys-memory.patch new file +94 -0

94 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0023-glupload-add-crop-meta-support-in-dmafd-uploader.patch new file +52 -0

52 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0024-glupload-add-ion-dmabuf-support-in-glupload.patch new file +477 -0

477 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0025-Add-ion-dmabuf-support-in-gldownload.patch new file +473 -0

473 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0026-glframebuffer-check-frame-buffer-status-need-use-spe.patch new file +132 -0

132 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0027-qml-add-EGL-platform-support-for-x11-backend.patch new file +63 -0

63 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0028-kmssink-use-control-node-to-setplane-to-.patch new file +108 -0

108 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0029-kmssink-support-videooverlay-interface.patch new file +343 -0

343 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0030-kmssink-check-scaleable-when-set_caps.patch new file +74 -0

74 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0031-glimagesink-fix-segmentation-fault-when-.patch new file +35 -0
new file mode 100644
index 00000000..cbec6d13

Lines of this file are not shown. View the raw message.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0032-gl-viv-fb-fix-wrong-pos-x-y-calculate-in.patch new file +52 -0

52 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0033-gl-viv-fb-transform-screen-coordinate-to.patch new file +52 -0

52 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0034-glimagesink-expose-should-do-redisplay-a.patch new file +37 -0
new file mode 100644
index 00000000..9226727b

Lines of this file are not shown. View the raw message.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0035-videoaggregator-passthrough-interlace-mo.patch new file +99 -0

99 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0036-glvideomixer-need-update-output-geometry.patch new file +83 -0

83 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0037-gleglimage-fix-YUY2-import-error-when-up.patch new file +30 -0
new file mode 100644
index 00000000..3c2159cd

Lines of this file are not shown. View the raw message.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0038-glupload-need-upload-each-plane-to-singl.patch new file +101 -0

101 lines not on this page · raw message

recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.%.bbappend +60 -0

60 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 7 lines
2.13.6

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Ccarol.zhu%40nxp.com%7Cf262c988ddc64ee8b27a08d547cdb7d6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636493871529936748&sdata=19U8vlQOpeOb248ya%2B4XkVYFG5V0agHPts7Xsa8UXNU%3D&reserved=0

Part of the diff is not shown here. View the raw message.