Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0
@ 2015-09-27 21:48 Carlos Rafael Giani
  2015-09-27 21:48 ` [PATCH 2/7] gstreamer1.0-plugins-base: " Carlos Rafael Giani
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

Removed patches which either were backports or accepted and integrated

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc |   8 +-
 ...gstinfo-Shorten-__FILE__-on-all-platforms.patch |  55 -------
 ...x-QoS-lateness-checking-if-subclass-imple.patch |  70 ---------
 ...ink-Shouldn-t-drop-buffer-when-sync-false.patch |  30 ----
 ...cky-events-haven-t-send-out-when-ac-1-4-1.patch | 167 ---------------------
 .../gstreamer/gstreamer1.0_1.4.5.bb                |  18 ---
 .../gstreamer/gstreamer1.0_1.6.0.bb                |  14 ++
 7 files changed, 18 insertions(+), 344 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0/inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0_1.6.0.bb

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index be8aa8f..aa95d57 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -5,7 +5,7 @@ HOMEPAGE = "http://gstreamer.freedesktop.org/"
 BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
 SECTION = "multimedia"
 LICENSE = "LGPLv2+"
-DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
+DEPENDS = "glib-2.0 libxml2 bison-native flex-native libcap"
 
 inherit autotools pkgconfig gettext
 
@@ -23,7 +23,7 @@ RRECOMMENDS_${PN}_qemux86-64 += "kernel-module-snd-ens1370 kernel-module-snd-raw
 
 CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
 
-FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so"
-FILES_${PN}-dev += " ${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a"
-FILES_${PN}-dbg += " ${libdir}/gstreamer-1.0/.debug/ ${libexecdir}/gstreamer-1.0/.debug/"
+FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so ${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*"
+FILES_${PN}-dev += " ${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include"
+FILES_${PN}-dbg += " ${libdir}/gstreamer-1.0/.debug/ ${libexecdir}/gstreamer-1.0/.debug/ ${datadir}/bash-completion/helpers/.debug/"
 
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch
deleted file mode 100644
index 8213c4b..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 81fecd367b016e5ac4fb0c04b84da5c474f30da6 Mon Sep 17 00:00:00 2001
-From: Peter Urbanec <git.user@urbanec.net>
-Date: Fri, 27 Feb 2015 01:16:58 +1100
-Subject: [PATCH 1/1] gstinfo: Shorten __FILE__ on all platforms.
-
-This is useful not only for MSVC, but also with gcc/Linux when doing
-cross-compilation builds and out-of-tree builds.
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=745213]
-
-Signed-off-by: Peter Urbanec <git.user@urbanec.net>
----
- gst/gstinfo.c | 11 ++++-------
- 1 file changed, 4 insertions(+), 7 deletions(-)
-
-diff --git a/gst/gstinfo.c b/gst/gstinfo.c
-index b2a3005..8b61d09 100644
---- a/gst/gstinfo.c
-+++ b/gst/gstinfo.c
-@@ -444,7 +444,6 @@ gst_debug_log (GstDebugCategory * category, GstDebugLevel level,
-   va_end (var_args);
- }
- 
--#ifdef G_OS_WIN32
- /* based on g_basename(), which we can't use because it was deprecated */
- static inline const gchar *
- gst_path_basename (const gchar * file_name)
-@@ -467,7 +466,6 @@ gst_path_basename (const gchar * file_name)
- 
-   return file_name;
- }
--#endif
- 
- /**
-  * gst_debug_log_valist:
-@@ -497,12 +495,11 @@ gst_debug_log_valist (GstDebugCategory * category, GstDebugLevel level,
-   g_return_if_fail (function != NULL);
-   g_return_if_fail (format != NULL);
- 
--  /* The predefined macro __FILE__ is always the exact path given to the
--   * compiler with MSVC, which may or may not be the basename.  We work
--   * around it at runtime to improve the readability. */
--#ifdef G_OS_WIN32
-+  /* The predefined macro __FILE__ can be an absolute path in some build
-+   * environments, such as MSVC or out-of-tree cross-compiles. This may
-+   * be significantly longer than the filename.  We work around it at
-+   * runtime to improve the readability. */
-   file = gst_path_basename (file);
--#endif
- 
-   message.message = NULL;
-   message.format = format;
--- 
-2.3.0
-
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
deleted file mode 100644
index 1505cbe..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 6914566ed6a89c96973a578aa5ecd01ee68cdcfd Mon Sep 17 00:00:00 2001
-From: Jian <Jian.Li@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 [1.5.1]
----
- libs/gst/base/gstbasesink.c |   26 ++++++++++++++++++++++----
- 1 file changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c
-index a505695..5fb2d6a 100644
---- a/libs/gst/base/gstbasesink.c
-+++ b/libs/gst/base/gstbasesink.c
-@@ -3369,10 +3369,28 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
-     if (G_UNLIKELY (stepped))
-       goto dropped;
- 
--    if (syncable && do_sync)
--      late =
--          gst_base_sink_is_too_late (basesink, obj, rstart, rstop,
--          GST_CLOCK_EARLY, 0, FALSE);
-+    if (syncable && do_sync) {
-+      GstClock *clock;
-+
-+      GST_OBJECT_LOCK (basesink);
-+      clock = GST_ELEMENT_CLOCK (basesink);
-+      if (clock && GST_STATE (basesink) == GST_STATE_PLAYING) {
-+        GstClockTime base_time;
-+        GstClockTime stime;
-+        GstClockTime now;
-+
-+        base_time = GST_ELEMENT_CAST (basesink)->base_time;
-+        stime = base_time + gst_base_sink_adjust_time (basesink, rstart);
-+        now = gst_clock_get_time (clock);
-+        GST_OBJECT_UNLOCK (basesink);
-+
-+        late =
-+            gst_base_sink_is_too_late (basesink, obj, rstart, rstop,
-+            GST_CLOCK_EARLY, GST_CLOCK_DIFF (stime, now), FALSE);
-+      } else {
-+        GST_OBJECT_UNLOCK (basesink);
-+      }
-+    }
- 
-     if (G_UNLIKELY (late))
-       goto dropped;
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch
deleted file mode 100755
index d682ee6..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 73df2b5c0aea58015788f5a94a3ec65296a688d3 Mon Sep 17 00:00:00 2001
-From: Song Bing <b06498@freescale.com>
-Date: Thu, 2 Jul 2015 14:32:21 +0800
-Subject: [PATCH] basesink: Shouldn't drop buffer when sync=false
-
-Shouldn't drop buffer when sync=false
-
-Upstream-Status: Accepted
-
-https://bugzilla.gnome.org/show_bug.cgi?id=751819
----
- libs/gst/base/gstbasesink.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c
-index d44e8fc..cd759ac 100644
---- a/libs/gst/base/gstbasesink.c
-+++ b/libs/gst/base/gstbasesink.c
-@@ -3423,7 +3423,7 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
-     if (G_UNLIKELY (stepped))
-       goto dropped;
- 
--    if (syncable && do_sync) {
-+    if (syncable && do_sync && gst_base_sink_get_sync (basesink)) {
-       GstClock *clock;
- 
-       GST_OBJECT_LOCK (basesink);
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch
deleted file mode 100755
index f50ce6f..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 83bed90c306ed3185d48febf6441177d638f7341 Mon Sep 17 00:00:00 2001
-From: Song Bing <b06498@freescale.com>
-Date: Wed, 24 Dec 2014 10:13:51 +0800
-Subject: [PATCH] inputselector: sticky events haven't send out when active
- track reach EOS
-
-EOS event hasn't been send to down-element. The resolution is block EOS event
-of inactive pad, send the event after the pad actived.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=740949
-
-Upstream-Status: Backport [1.5.1]
-
-Signed-off-by: Song Bing <b06498@freescale.com>
----
- plugins/elements/gstinputselector.c |   58 ++++++++++++++++++++++++++---------
- plugins/elements/gstinputselector.h |    1 +
- 2 files changed, 45 insertions(+), 14 deletions(-)
-
-diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
-index fb50802..4461f7c 100644
---- a/plugins/elements/gstinputselector.c
-+++ b/plugins/elements/gstinputselector.c
-@@ -440,6 +440,17 @@ gst_selector_pad_iterate_linked_pads (GstPad * pad, GstObject * parent)
- }
- 
- static gboolean
-+gst_input_selector_eos_wait (GstInputSelector * self, GstSelectorPad * pad)
-+{
-+  while (!self->eos && !self->flushing && !pad->flushing) {
-+    /* we can be unlocked here when we are shutting down (flushing) or when we
-+     * get unblocked */
-+    GST_INPUT_SELECTOR_WAIT (self);
-+  }
-+  return self->flushing;
-+}
-+
-+static gboolean
- gst_selector_pad_event (GstPad * pad, GstObject * parent, GstEvent * event)
- {
-   gboolean res = TRUE;
-@@ -486,6 +497,7 @@ gst_selector_pad_event (GstPad * pad, GstObject * parent, GstEvent * event)
-     case GST_EVENT_FLUSH_START:
-       /* Unblock the pad if it's waiting */
-       selpad->flushing = TRUE;
-+      sel->eos = FALSE;
-       GST_INPUT_SELECTOR_BROADCAST (sel);
-       break;
-     case GST_EVENT_FLUSH_STOP:
-@@ -523,21 +535,12 @@ gst_selector_pad_event (GstPad * pad, GstObject * parent, GstEvent * event)
-     case GST_EVENT_EOS:
-       selpad->eos = TRUE;
- 
--      if (forward) {
--        selpad->eos_sent = TRUE;
--      } else {
--        GstSelectorPad *active_selpad;
--
--        /* If the active sinkpad is in EOS state but EOS
--         * was not sent downstream this means that the pad
--         * got EOS before it was set as active pad and that
--         * the previously active pad got EOS after it was
--         * active
--         */
--        active_selpad = GST_SELECTOR_PAD (active_sinkpad);
--        forward = (active_selpad->eos && !active_selpad->eos_sent);
--        active_selpad->eos_sent = TRUE;
-+      if (!forward) {
-+        /* blocked until active the sind pad or flush */
-+        gst_input_selector_eos_wait (sel, selpad);
-+        forward = TRUE;
-       }
-+      selpad->eos_sent = TRUE;
-       GST_DEBUG_OBJECT (pad, "received EOS");
-       break;
-     case GST_EVENT_GAP:{
-@@ -676,6 +679,12 @@ gst_input_selector_wait_running_time (GstInputSelector * sel,
-         gst_input_selector_activate_sinkpad (sel, GST_PAD_CAST (selpad));
-     active_selpad = GST_SELECTOR_PAD_CAST (active_sinkpad);
- 
-+    if (sel->eos) {
-+      GST_DEBUG_OBJECT (sel, "Not waiting because inputselector reach EOS.");
-+      GST_INPUT_SELECTOR_UNLOCK (sel);
-+      return FALSE;
-+    }
-+
-     if (seg->format != GST_FORMAT_TIME) {
-       GST_DEBUG_OBJECT (selpad,
-           "Not waiting because we don't have a TIME segment");
-@@ -971,6 +980,12 @@ gst_selector_pad_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
-       GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
- 
-   GST_INPUT_SELECTOR_LOCK (sel);
-+  if (sel->eos) {
-+    GST_DEBUG_OBJECT (pad, "inputselector eos.");
-+    GST_INPUT_SELECTOR_UNLOCK (sel);
-+    goto eos;
-+  }
-+
-   /* wait or check for flushing */
-   if (gst_input_selector_wait (sel, selpad)) {
-     GST_INPUT_SELECTOR_UNLOCK (sel);
-@@ -1151,6 +1166,13 @@ flushing:
-     res = GST_FLOW_FLUSHING;
-     goto done;
-   }
-+eos:
-+  {
-+    GST_DEBUG_OBJECT (pad, "We are eos, discard buffer %p", buf);
-+    gst_buffer_unref (buf);
-+    res = GST_FLOW_EOS;
-+    goto done;
-+  }
- }
- 
- static void gst_input_selector_dispose (GObject * object);
-@@ -1309,6 +1331,7 @@ gst_input_selector_init (GstInputSelector * sel)
-   g_mutex_init (&sel->lock);
-   g_cond_init (&sel->cond);
-   sel->blocked = FALSE;
-+  sel->eos = FALSE;
- 
-   /* lets give a change for downstream to do something on
-    * active-pad change before we start pushing new buffers */
-@@ -1377,6 +1400,11 @@ gst_input_selector_set_active_pad (GstInputSelector * self, GstPad * pad)
-   GST_DEBUG_OBJECT (self, "New active pad is %" GST_PTR_FORMAT,
-       self->active_sinkpad);
- 
-+  if (old != new && new->eos && !new->eos_sent) {
-+    self->eos = TRUE;
-+    GST_INPUT_SELECTOR_BROADCAST (self);
-+  }
-+
-   return TRUE;
- }
- 
-@@ -1771,6 +1799,7 @@ gst_input_selector_change_state (GstElement * element,
-   switch (transition) {
-     case GST_STATE_CHANGE_READY_TO_PAUSED:
-       GST_INPUT_SELECTOR_LOCK (self);
-+      self->eos = FALSE;
-       self->blocked = FALSE;
-       self->flushing = FALSE;
-       GST_INPUT_SELECTOR_UNLOCK (self);
-@@ -1779,6 +1808,7 @@ gst_input_selector_change_state (GstElement * element,
-       /* first unlock before we call the parent state change function, which
-        * tries to acquire the stream lock when going to ready. */
-       GST_INPUT_SELECTOR_LOCK (self);
-+      self->eos = TRUE;
-       self->blocked = FALSE;
-       self->flushing = TRUE;
-       GST_INPUT_SELECTOR_BROADCAST (self);
-diff --git a/plugins/elements/gstinputselector.h b/plugins/elements/gstinputselector.h
-index 96c680f..9bf924f 100644
---- a/plugins/elements/gstinputselector.h
-+++ b/plugins/elements/gstinputselector.h
-@@ -77,6 +77,7 @@ struct _GstInputSelector {
-   GMutex lock;
-   GCond cond;
-   gboolean blocked;
-+  gboolean eos;
-   gboolean flushing;
- };
- 
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb
deleted file mode 100644
index 73a4a99..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-include gstreamer1.0.inc
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
-                    file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d"
-
-SRC_URI = " \
-    http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
-    file://0001-Fix-crash-with-gst-inspect.patch \
-    file://0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch \
-    file://inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch \
-    file://0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch \
-    file://0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch \
-"
-SRC_URI[md5sum] = "88a9289c64a4950ebb4f544980234289"
-SRC_URI[sha256sum] = "40801aa7f979024526258a0e94707ba42b8ab6f7d2206e56adbc4433155cb0ae"
-
-S = "${WORKDIR}/gstreamer-${PV}"
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.6.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.6.0.bb
new file mode 100644
index 0000000..7a5a4e4
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.6.0.bb
@@ -0,0 +1,14 @@
+include gstreamer1.0.inc
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
+                    file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d"
+
+SRC_URI = " \
+    http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
+    file://0001-Fix-crash-with-gst-inspect.patch \
+"
+SRC_URI[md5sum] = "201c15ac4b956833f7f6774485433969"
+SRC_URI[sha256sum] = "52ef885647afef11c8b7645a9afefe04aa09e8971c4b932e7717872ab8a30fcc"
+
+S = "${WORKDIR}/gstreamer-${PV}"
+
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/7] gstreamer1.0-plugins-base: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
@ 2015-09-27 21:48 ` Carlos Rafael Giani
  2015-09-28  1:07   ` Khem Raj
  2015-09-27 21:48 ` [PATCH 3/7] gstreamer1.0-plugins-good: " Carlos Rafael Giani
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

A number of patches had to be deleted in order for the recipe to work.

Patches which cannot be applied cleanly to 1.6.0 and are nontrivial to fix:
* 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
* do-not-change-eos-event-to-gap-event2.patch
* do-not-change-eos-event-to-gap-event3.patch
* do-not-change-eos-event-to-gap-event-if.patch
* handle-audio-video-decoder-error.patch
* taglist-not-send-to-down-stream-if-all-the-frame-cor.patch

Patches which either were backports or accepted and integrated:
* 0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
* 0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
* 0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
* fix-id3demux-utf16-to-utf8-issue.patch
* videobuffer_updata_alignment_update.patch
* videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 .../gstreamer/gstreamer1.0-plugins-base.inc        |  20 ++--
 ...rlay-make-memory-copy-when-video-buffer-s.patch | 129 ---------------------
 ...rame-Don-t-ref-buffers-twice-when-mapping.patch |  26 -----
 ...frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch |  87 --------------
 ...r-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch |  69 -----------
 .../do-not-change-eos-event-to-gap-event-if.patch  |  37 ------
 .../do-not-change-eos-event-to-gap-event2.patch    |  49 --------
 .../do-not-change-eos-event-to-gap-event3.patch    |  31 -----
 .../fix-id3demux-utf16-to-utf8-issue.patch         |  54 ---------
 .../handle-audio-video-decoder-error.patch         |  64 ----------
 ...-send-to-down-stream-if-all-the-frame-cor.patch |  57 ---------
 .../videobuffer_updata_alignment_update.patch      |  53 ---------
 ...p-sticky-events-around-when-doing-a-soft-.patch |  46 --------
 .../gstreamer/gstreamer1.0-plugins-base_1.4.5.bb   |  30 -----
 .../gstreamer/gstreamer1.0-plugins-base_1.6.0.bb   |  18 +++
 15 files changed, 29 insertions(+), 741 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
index 47f3f40..fbb6c59 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
@@ -3,7 +3,7 @@ require gstreamer1.0-plugins.inc
 LICENSE = "GPLv2+ & LGPLv2+"
 
 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}"
-DEPENDS += "freetype liboil util-linux"
+DEPENDS += "freetype liboil util-linux iso-codes zlib"
 
 inherit gettext
 
@@ -12,23 +12,25 @@ PACKAGES_DYNAMIC =+ "^libgst.*"
 PACKAGECONFIG ??= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
-    orc ivorbis ogg theora vorbis pango \
+    orc ivorbis ogg theora vorbis pango gio-unix-2.0 \
     "
 
 X11DEPENDS = "virtual/libx11 libsm libxrender"
 X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm"
 X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm"
-PACKAGECONFIG[x11]     = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
-PACKAGECONFIG[alsa]    = "--enable-alsa,--disable-alsa,alsa-lib"
-PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor"
-PACKAGECONFIG[ogg]     = "--enable-ogg,--disable-ogg,libogg"
-PACKAGECONFIG[theora]  = "--enable-theora,--disable-theora,libtheora"
-PACKAGECONFIG[vorbis]  = "--enable-vorbis,--disable-vorbis,libvorbis"
-PACKAGECONFIG[pango]   = "--enable-pango,--disable-pango,pango"
+PACKAGECONFIG[x11]          = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
+PACKAGECONFIG[alsa]         = "--enable-alsa,--disable-alsa,alsa-lib"
+PACKAGECONFIG[ivorbis]      = "--enable-ivorbis,--disable-ivorbis,tremor"
+PACKAGECONFIG[ogg]          = "--enable-ogg,--disable-ogg,libogg"
+PACKAGECONFIG[theora]       = "--enable-theora,--disable-theora,libtheora"
+PACKAGECONFIG[vorbis]       = "--enable-vorbis,--disable-vorbis,libvorbis"
+PACKAGECONFIG[pango]        = "--enable-pango,--disable-pango,pango"
+PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0"
 
 
 # cdparanoia and libvisual do not seem to exist anywhere in OE
 EXTRA_OECONF += " \
+    --enable-zlib \
     --disable-freetypetest \
     --disable-cdparanoia \
     --disable-libvisual \
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
deleted file mode 100644
index 03dca95..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
+++ /dev/null
@@ -1,129 +0,0 @@
-From 3781d40940d46d7e6a502092d24aac7997f6da5b Mon Sep 17 00:00:00 2001
-From: Mingke Wang <mingke.wang@freescale.com>
-Date: Thu, 5 Mar 2015 12:06:23 +0800
-Subject: [PATCH 1/4] 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.
-2.  new feature is no added if caps has no feature during caps negotiation
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=747495]
-
-Signed-off-by: Mingke Wang <mingke.wang@freescale.com>
-
-diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c
-index c919861..3c0a1d7 100755
---- a/ext/pango/gstbasetextoverlay.c
-+++ b/ext/pango/gstbasetextoverlay.c
-@@ -747,6 +747,7 @@ gst_base_text_overlay_negotiate (GstBaseTextOverlay * overlay, GstCaps * caps)
-     if (f == NULL) {
-       f = gst_caps_features_new
-           (GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION, NULL);
-+      gst_caps_set_features(overlay_caps, 0, f);
-     } else {
-       gst_caps_features_add (f,
-           GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION);
-@@ -1890,16 +1891,71 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
-   if (gst_pad_check_reconfigure (overlay->srcpad))
-     gst_base_text_overlay_negotiate (overlay, NULL);
- 
--  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 m = gst_buffer_n_memory(video_frame);
-+  gboolean mem_rdonly = FALSE;
-+  GstMemory *mem;
-+  GstBuffer *orig = video_frame;
-+
-+  while (--m>=0) {
-+    mem = gst_buffer_get_memory(video_frame, m);
-+    if (GST_MEMORY_IS_READONLY(mem)) {
-+      mem_rdonly = TRUE;
-+      gst_memory_unref (mem);
-+      break;
-+    }
-+    gst_memory_unref (mem);
-+  }
-+
-+  if (mem_rdonly) {
-+    // 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.
-+    GstBuffer *new_buf = gst_buffer_copy_region (video_frame,
-+        GST_BUFFER_COPY_ALL | GST_BUFFER_COPY_DEEP, 0, -1);
-+
-+    GST_DEBUG_OBJECT (overlay, "copy %s video frame buffer %p -> %p",
-+        g_type_name (GST_MINI_OBJECT_TYPE (video_frame)), video_frame, new_buf);
-+
-+    if (!new_buf) {
-+      //maybe the allocator don't support mem_copy interface, the we just use
-+      //gst_buffer_make_writable() to get a writable buffer.
-+      video_frame = gst_buffer_make_writable (video_frame);
-+    } else {
-+      gst_mini_object_unref (video_frame);
-+      GST_BUFFER_FLAG_UNSET (new_buf, GST_BUFFER_FLAG_TAG_MEMORY);
-+      video_frame = new_buf;
-+    }
-+
-+    if (!video_frame) {
-+      GST_WARNING_OBJECT (overlay, "make writable buffer failed");
-+      return GST_FLOW_OK;
-+    }
-+
-+    m = gst_buffer_n_memory(video_frame);
-+    while (--m>=0) {
-+      mem = gst_buffer_get_memory(video_frame, m);
-+      GST_MEMORY_FLAG_UNSET (mem, GST_MEMORY_FLAG_READONLY);
-+      gst_memory_unref (mem);
-+    }
-+  } 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;
-@@ -1918,6 +1974,18 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
- 
-   gst_video_frame_unmap (&frame);
- 
-+  if (mem_rdonly && orig == video_frame) {
-+    //if we used the original buffer and it's mem is set to read only,
-+    //recover the memory ready only flag since we unset it before
-+    // gst_video_frame_map ()
-+    m = gst_buffer_n_memory(video_frame);
-+    while (--m>=0) {
-+      mem = gst_buffer_get_memory(video_frame, m);
-+      GST_MEMORY_FLAGS(mem) |= (GST_MEMORY_FLAG_READONLY);
-+      gst_memory_unref (mem);
-+    }
-+  }
-+
- done:
- 
-   return gst_pad_push (overlay->srcpad, video_frame);
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
deleted file mode 100644
index 3db4724..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 269f642c45d85cfd630ed490478e6bd6b71a767f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
-Date: Tue, 16 Sep 2014 01:07:18 +0300
-Subject: [PATCH] video-frame: Don't ref buffers twice when mapping
-
-Upstream-Status: Backport [1.5.1]
----
- gst-libs/gst/video/video-frame.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gst-libs/gst/video/video-frame.c b/gst-libs/gst/video/video-frame.c
-index 01f23c0..8a9ae96 100644
---- a/gst-libs/gst/video/video-frame.c
-+++ b/gst-libs/gst/video/video-frame.c
-@@ -105,7 +105,7 @@ gst_video_frame_map_id (GstVideoFrame * frame, GstVideoInfo * info,
-       frame->data[i] = frame->map[0].data + info->offset[i];
-     }
-   }
--  frame->buffer = gst_buffer_ref (buffer);
-+  frame->buffer = buffer;
-   if ((flags & GST_VIDEO_FRAME_MAP_FLAG_NO_REF) == 0)
-     gst_buffer_ref (frame->buffer);
- 
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
deleted file mode 100644
index c465b5c..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From 40a293d44d1aeccf5eb8e86f23a0b13666111c5c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
-Date: Fri, 12 Sep 2014 14:39:16 +0300
-Subject: [PATCH 2/3] video-frame: Add GST_VIDEO_FRAME_MAP_FLAG_NO_REF
-
-This makes sure that the buffer is not reffed another time when
-storing it in the GstVideoFrame, keeping it writable if it was
-writable.
-
-Upstream-Status: Backport [1.5.1]
-https://bugzilla.gnome.org/show_bug.cgi?id=736118
----
- gst-libs/gst/video/video-frame.c |    9 ++++++++-
- gst-libs/gst/video/video-frame.h |   18 ++++++++++++++++++
- 2 files changed, 26 insertions(+), 1 deletion(-)
-
-diff --git a/gst-libs/gst/video/video-frame.c b/gst-libs/gst/video/video-frame.c
-index 537cf70..01f23c0 100644
---- a/gst-libs/gst/video/video-frame.c
-+++ b/gst-libs/gst/video/video-frame.c
-@@ -106,6 +106,9 @@ gst_video_frame_map_id (GstVideoFrame * frame, GstVideoInfo * info,
-     }
-   }
-   frame->buffer = gst_buffer_ref (buffer);
-+  if ((flags & GST_VIDEO_FRAME_MAP_FLAG_NO_REF) == 0)
-+    gst_buffer_ref (frame->buffer);
-+
-   frame->meta = meta;
- 
-   /* buffer flags enhance the frame flags */
-@@ -189,11 +192,13 @@ gst_video_frame_unmap (GstVideoFrame * frame)
-   GstBuffer *buffer;
-   GstVideoMeta *meta;
-   gint i;
-+  GstMapFlags flags;
- 
-   g_return_if_fail (frame != NULL);
- 
-   buffer = frame->buffer;
-   meta = frame->meta;
-+  flags = frame->map[0].flags;
- 
-   if (meta) {
-     for (i = 0; i < frame->info.finfo->n_planes; i++) {
-@@ -202,7 +207,9 @@ gst_video_frame_unmap (GstVideoFrame * frame)
-   } else {
-     gst_buffer_unmap (buffer, &frame->map[0]);
-   }
--  gst_buffer_unref (buffer);
-+
-+  if ((flags & GST_VIDEO_FRAME_MAP_FLAG_NO_REF) == 0)
-+    gst_buffer_unref (frame->buffer);
- }
- 
- /**
-diff --git a/gst-libs/gst/video/video-frame.h b/gst-libs/gst/video/video-frame.h
-index 627fab0..f8e6304 100644
---- a/gst-libs/gst/video/video-frame.h
-+++ b/gst-libs/gst/video/video-frame.h
-@@ -149,6 +149,24 @@ typedef enum {
-   GST_VIDEO_BUFFER_FLAG_LAST        = (GST_BUFFER_FLAG_LAST << 8)
- } GstVideoBufferFlags;
- 
-+/**
-+ * GstVideoBufferFlags:
-+ * @GST_VIDEO_FRAME_MAP_FLAG_NO_REF:  Don't take another reference of the buffer and store it in
-+ *                                    the GstVideoFrame. This makes sure that the buffer stays
-+ *                                    writable while the frame is mapped, but requires that the
-+ *                                    buffer reference stays valid until the frame is unmapped again.
-+ * @GST_VIDEO_FRAME_MAP_FLAG_LAST:    Offset to define more flags
-+ *
-+ * Additional mapping flags for gst_video_frame_map().
-+ *
-+ * Since: 1.6
-+ */
-+typedef enum {
-+  GST_VIDEO_FRAME_MAP_FLAG_NO_REF   = (GST_MAP_FLAG_LAST << 0),
-+  GST_VIDEO_FRAME_MAP_FLAG_LAST     = (GST_MAP_FLAG_LAST << 8)
-+  /* 8 more flags possible afterwards */
-+} GstVideoFrameMapFlags;
-+
- G_END_DECLS
- 
- #endif /* __GST_VIDEO_FRAME_H__ */
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
deleted file mode 100644
index 132bf06..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 3a7cdcdfc9c5b0d20394fe51b3b8cda23931ca6d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
-Date: Fri, 12 Sep 2014 14:41:01 +0300
-Subject: [PATCH 3/3] videofilter: Use new GST_VIDEO_FRAME_MAP_FLAG_NO_REF
-
-Upstream-Status: Backport [1.5.1]
-https://bugzilla.gnome.org/show_bug.cgi?id=736118
----
- gst-libs/gst/video/gstvideofilter.c |   23 ++++-------------------
- 1 file changed, 4 insertions(+), 19 deletions(-)
-
-diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c
-index e1fa2c1..874b2e8 100644
---- a/gst-libs/gst/video/gstvideofilter.c
-+++ b/gst-libs/gst/video/gstvideofilter.c
-@@ -260,23 +260,15 @@ gst_video_filter_transform (GstBaseTransform * trans, GstBuffer * inbuf,
-   if (fclass->transform_frame) {
-     GstVideoFrame in_frame, out_frame;
- 
--    if (!gst_video_frame_map (&in_frame, &filter->in_info, inbuf, GST_MAP_READ))
-+    if (!gst_video_frame_map (&in_frame, &filter->in_info, inbuf,
-+            GST_MAP_READ | GST_VIDEO_FRAME_MAP_FLAG_NO_REF))
-       goto invalid_buffer;
- 
-     if (!gst_video_frame_map (&out_frame, &filter->out_info, outbuf,
--            GST_MAP_WRITE))
-+            GST_MAP_WRITE | GST_VIDEO_FRAME_MAP_FLAG_NO_REF))
-       goto invalid_buffer;
- 
--    /* GstVideoFrame has another reference, so the buffer looks unwriteable,
--     * meaning that we can't attach any metas or anything to it. Other
--     * map() functions like gst_buffer_map() don't get another reference
--     * of the buffer and expect the buffer reference to be kept until
--     * the buffer is unmapped again. */
--    gst_buffer_unref (inbuf);
--    gst_buffer_unref (outbuf);
-     res = fclass->transform_frame (filter, &in_frame, &out_frame);
--    gst_buffer_ref (inbuf);
--    gst_buffer_ref (outbuf);
- 
-     gst_video_frame_unmap (&out_frame);
-     gst_video_frame_unmap (&in_frame);
-@@ -317,7 +309,7 @@ gst_video_filter_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
-     GstVideoFrame frame;
-     GstMapFlags flags;
- 
--    flags = GST_MAP_READ;
-+    flags = GST_MAP_READ | GST_VIDEO_FRAME_MAP_FLAG_NO_REF;
- 
-     if (!gst_base_transform_is_passthrough (trans))
-       flags |= GST_MAP_WRITE;
-@@ -325,14 +317,7 @@ gst_video_filter_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
-     if (!gst_video_frame_map (&frame, &filter->in_info, buf, flags))
-       goto invalid_buffer;
- 
--    /* GstVideoFrame has another reference, so the buffer looks unwriteable,
--     * meaning that we can't attach any metas or anything to it. Other
--     * map() functions like gst_buffer_map() don't get another reference
--     * of the buffer and expect the buffer reference to be kept until
--     * the buffer is unmapped again. */
--    gst_buffer_unref (buf);
-     res = fclass->transform_frame_ip (filter, &frame);
--    gst_buffer_ref (buf);
- 
-     gst_video_frame_unmap (&frame);
-   } else {
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch
deleted file mode 100644
index aa55de1..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From b608d027fff6efc2d1988ebf169cbe3b2b44a61b Mon Sep 17 00:00:00 2001
-From: zhouming <b42586@freescale.com>
-Date: Thu, 8 May 2014 12:01:17 +0800
-Subject: [PATCH] ENGR00312034: do not change eos event to gap event if no
- data has passed to streamsynchronizer.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=727074
-
-Upstream-Status: Pending
-
-Signed-off-by: zhouming <b42586@freescale.com>
----
- gst/playback/gststreamsynchronizer.c |    5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
-index 3997d1b..3e17c55 100644
---- a/gst/playback/gststreamsynchronizer.c
-+++ b/gst/playback/gststreamsynchronizer.c
-@@ -488,12 +488,11 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
-         }
-         g_slist_free (pads);
-       } else {
--        /* if EOS, but no data has passed, then send something to replace EOS
--         * for preroll purposes */
-+        /* if EOS, but no data has passed, then send EOS event */
-         if (!seen_data) {
-           GstEvent *gap_event;
- 
--          gap_event = gst_event_new_gap (timestamp, GST_CLOCK_TIME_NONE);
-+          gap_event = gst_event_new_eos ();
-           ret = gst_pad_push_event (srcpad, gap_event);
-         } else {
-           GstEvent *gap_event;
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch
deleted file mode 100755
index f24bc7c..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-commit f9536544f5ad182b4f78d0143d1daa45dd64e624
-Author: Song Bing <b06498@freescale.com>
-Date:   Thu Oct 9 17:37:43 2014 +0800
-
-[gststreamsynchronizer] send EOS event insterd of GAP event as GAP
-event has issue when A/V have different duration.
-    
-send EOS event insterd of GAP event as GAP event has issue when A/V have different duration.
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=736655]
-
-Signed-off-by: Song Bing <b06498@freescale.com>
-
-diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
-index 3e17c55..ff42d72 100644
---- a/gst/playback/gststreamsynchronizer.c
-+++ b/gst/playback/gststreamsynchronizer.c
-@@ -488,19 +488,24 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
-         }
-         g_slist_free (pads);
-       } else {
--        /* if EOS, but no data has passed, then send EOS event */
-+        /* if EOS, but no data has passed, then send something to replace EOS
-+         * for preroll purposes */
-         if (!seen_data) {
--          GstEvent *gap_event;
-+          GstEvent *eos_event;
- 
--          gap_event = gst_event_new_eos ();
--          ret = gst_pad_push_event (srcpad, gap_event);
-+          /* FIXME: change to EOS event as GAP event has issue when A/V have
-+           * different duration */
-+          eos_event = gst_event_new_eos ();
-+          ret = gst_pad_push_event (srcpad, eos_event);
-         } else {
--          GstEvent *gap_event;
-+          GstEvent *eos_event;
- 
-           /* FIXME: Also send a GAP event to let audio sinks start their
-            * clock in case they did not have enough data yet */
--          gap_event = gst_event_new_gap (timestamp, GST_CLOCK_TIME_NONE);
--          ret = gst_pad_push_event (srcpad, gap_event);
-+          /* FIXME: change to EOS event as GAP event has issue when A/V have
-+           * different duration */
-+          eos_event = gst_event_new_eos ();
-+          ret = gst_pad_push_event (srcpad, eos_event);
-         }
-       }
-       gst_object_unref (srcpad);
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch
deleted file mode 100755
index 731be68..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-commit 3f7052aac5e0118a9a9e09fff2f65091be448972
-Author: Song Bing <b06498@freescale.com>
-Date:   Thu Oct 23 13:35:13 2014 +0800
-
-[streamsynchronizer] One stream can finish playback.
-  
-As changed GAP event EOS event, so EOS will send more times, which will
-cause send function return error.
-Streamsynchronizer will don’t send second track EOS event if send the
-first track EOS return fail. Fixed by ignore the return error.
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=736655]
-
-Signed-off-by: Song Bing b06498@freescale.com
-
-diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
-index ff42d72..d1732c3 100644
---- a/gst/playback/gststreamsynchronizer.c
-+++ b/gst/playback/gststreamsynchronizer.c
-@@ -482,7 +482,10 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
-         while (epad) {
-           pad = epad->data;
-           GST_DEBUG_OBJECT (pad, "Pushing EOS");
--          ret = ret && gst_pad_push_event (pad, gst_event_new_eos ());
-+          /* FIXME: remove error check as GAP changed to EOS will send EOS
-+           * more times, which will cause return error and then don't send
-+           * EOS event to following tracks. */
-+          gst_pad_push_event (pad, gst_event_new_eos ());
-           gst_object_unref (pad);
-           epad = g_slist_next (epad);
-         }
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch
deleted file mode 100755
index ef3f75f..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Author: Lyon Wang <b12696@freescale.com>
-Date:   Thu Oct 9 17:37:43 2014 +0800
-
-[id3v2frames] Bug fix for id3demux issue
-
-Fix the issue that id3 tags utf16 charaters cannot be extreacted in id3demux
-when I tried to get the id3v2 tag such as TIT2, TALB etc. it will return extrac
-failed.
-
-Checked in id3v2frame.c,  When parse the UTF-16 streams, it used g_convert() to
-convert the buffer from UTF-16 to UTF-8, however it will return err that this
-conversion is not supported which cause the extraction failed with these UTF-16
-characters.
-
-In the patch, use g_utf16_to_utf8() instead of g_convert, which can convert the
-character format successfully.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=741144
-
-Upstream-Status: Backport [1.5.1]
-
-Signed-off-by: Lyon Wang <b12696@freescale.com>
-
-diff --git a/gst-libs/gst/tag/id3v2frames.c b/gst-libs/gst/tag/id3v2frames.c
-old mode 100644
-new mode 100755
-index 3785c2a..7b9d8ac
---- a/gst-libs/gst/tag/id3v2frames.c
-+++ b/gst-libs/gst/tag/id3v2frames.c
-@@ -1057,14 +1057,17 @@ parse_insert_string_field (guint8 encoding, gchar * data, gint data_size,
-         data_size -= 2;
-       }
- 
--      field = g_convert (data, data_size, "UTF-8", in_encode, NULL, NULL, NULL);
--
--      if (field == NULL || g_utf8_validate (field, -1, NULL) == FALSE) {
--        /* As a fallback, try interpreting UTF-16 in the other endianness */
--        if (in_encode == utf16beenc)
--          field = g_convert (data, data_size, "UTF-8", utf16leenc,
--              NULL, NULL, NULL);
-+      if (in_encode == utf16beenc) {
-+           gunichar2 *data_utf16;
-+           guint i;
-+           data_utf16 =  (gunichar2 *) data;
-+          for (i=0; i<(data_size>>1); i++) {
-+            data_utf16[i] = GUINT16_TO_LE (data_utf16[i]);
-+          }
-       }
-+      //field = g_convert (data, data_size, "UTF-8", in_encode, NULL, NULL, NULL);
-+       field = g_utf16_to_utf8((gunichar2 *)data, (glong)(data_size>>1), NULL, NULL, NULL);
-+
-     }
- 
-       break;
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch
deleted file mode 100755
index 833ce72..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From bcb2b8b6f49e7c66124a4f5e07dea829d5ebfe59 Mon Sep 17 00:00:00 2001
-From: Lyon Wang <lyon.wang@freescale.com>
-Date: Mon, 15 Dec 2014 16:52:07 +0800
-Subject: [PATCH] handle audio/video decoder error
-
-When there is input data and no output data to the end of the stream, it will
-send GST_ELEMENT_ERROR, So the clips playing will quit.
-However, if only one of the tracks is corrupt, there is no need to quit other
-tracks playing.
-
-The patch comments the GST_ELEMENT_ERROR() and just add GST_ERROR_OBJECT()
-information instead.
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=741542]
-
-Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
----
- gst-libs/gst/audio/gstaudiodecoder.c |    5 +++--
- gst-libs/gst/video/gstvideodecoder.c |    5 +++--
- 2 files changed, 6 insertions(+), 4 deletions(-)
- mode change 100644 => 100755 gst-libs/gst/audio/gstaudiodecoder.c
- mode change 100644 => 100755 gst-libs/gst/video/gstvideodecoder.c
-
-diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
-old mode 100644
-new mode 100755
-index c2e7a28..891df0a
---- a/gst-libs/gst/audio/gstaudiodecoder.c
-+++ b/gst-libs/gst/audio/gstaudiodecoder.c
-@@ -2123,9 +2123,10 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
-       GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
- 
-       if (dec->priv->ctx.had_input_data && !dec->priv->ctx.had_output_data) {
--        GST_ELEMENT_ERROR (dec, STREAM, DECODE,
-+        /* GST_ELEMENT_ERROR (dec, STREAM, DECODE,
-             ("No valid frames decoded before end of stream"),
--            ("no valid frames found"));
-+            ("no valid frames found")); */
-+        GST_ERROR_OBJECT(dec, "No valid frames decoded before end of stream");
-       }
- 
-       /* send taglist if no valid frame is decoded util EOS */
-diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c
-old mode 100644
-new mode 100755
-index ac581e1..4278bcd
---- a/gst-libs/gst/video/gstvideodecoder.c
-+++ b/gst-libs/gst/video/gstvideodecoder.c
-@@ -1068,9 +1068,10 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
- 
-       /* Error out even if EOS was ok when we had input, but no output */
-       if (ret && priv->had_input_data && !priv->had_output_data) {
--        GST_ELEMENT_ERROR (decoder, STREAM, DECODE,
-+        /* GST_ELEMENT_ERROR (decoder, STREAM, DECODE,
-             ("No valid frames decoded before end of stream"),
--            ("no valid frames found"));
-+            ("no valid frames found")); */
-+        GST_ERROR_OBJECT(decoder, "No valid frames decoded before end of stream");
-       }
- 
-       /* Forward EOS immediately. This is required because no
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
deleted file mode 100644
index 62a52b0..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 68fa1b1425ad2c5f7c5013d0943153a8a6d0934e Mon Sep 17 00:00:00 2001
-From: Jian Li <lj.qfy.sh@gmail.com>
-Date: Wed, 24 Sep 2014 17:21:02 +0800
-Subject: [PATCH] taglist not send to down stream if all the frame corrupted
-
-https://bugzilla.gnome.org/show_bug.cgi?id=737246
-
-Upstream-Status: Pending
-
-Signed-off-by: Jian Li <lj.qfy.sh@gmail.com>
----
- gst-libs/gst/audio/gstaudiodecoder.c |    9 +++++++++
- gst-libs/gst/video/gstvideodecoder.c |    8 ++++++++
- 2 files changed, 17 insertions(+)
-
-diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
-index 3504678..3d69efe 100644
---- a/gst-libs/gst/audio/gstaudiodecoder.c
-+++ b/gst-libs/gst/audio/gstaudiodecoder.c
-@@ -2083,6 +2083,15 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
-       gst_audio_decoder_drain (dec);
-       GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
- 
-+      /* send taglist if no valid frame is decoded util EOS */
-+      if (dec->priv->taglist && dec->priv->taglist_changed) {
-+        GST_DEBUG_OBJECT (dec, "codec tag %" GST_PTR_FORMAT, dec->priv->taglist);
-+        if (!gst_tag_list_is_empty (dec->priv->taglist))
-+          gst_audio_decoder_push_event (dec,
-+              gst_event_new_tag (gst_tag_list_ref (dec->priv->taglist)));
-+        dec->priv->taglist_changed = FALSE;
-+      }
-+
-       /* Forward EOS because no buffer or serialized event will come after
-        * EOS and nothing could trigger another _finish_frame() call. */
-       ret = gst_audio_decoder_push_event (dec, event);
-diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c
-index dd8abe3..d9bfe4d 100644
---- a/gst-libs/gst/video/gstvideodecoder.c
-+++ b/gst-libs/gst/video/gstvideodecoder.c
-@@ -1024,6 +1024,14 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
-        * parent class' ::sink_event() until a later time.
-        */
-       forward_immediate = TRUE;
-+
-+      /* send taglist if no valid frame is decoded util EOS */
-+      if (decoder->priv->tags && decoder->priv->tags_changed) {
-+        gst_video_decoder_push_event (decoder,
-+            gst_event_new_tag (gst_tag_list_ref (decoder->priv->tags)));
-+        decoder->priv->tags_changed = FALSE;
-+      }
-+
-       break;
-     }
-     case GST_EVENT_GAP:
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
deleted file mode 100755
index 8cfda95..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-commit 88d253ea23b06289df40401160b606323f16c910
-Author: Song Bing <b06498@freescale.com>
-Date:   Mon Dec 15 09:34:35 2014 +0800
-
-videopool: update video alignment after video alignment
-
-Video buffer pool will update video alignment to respect stride alignment
-requirement. But haven't update it to video alignment in configure.
-Which will cause user get wrong video alignment.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=741501
-
-Upstream-Status: Backport [1.5.1]
-
-Signed-off-by: Song Bing <b06498@freescale.com>
-diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c
-index 4475f45..acef594 100644
---- a/gst-libs/gst/video/gstvideopool.c
-+++ b/gst-libs/gst/video/gstvideopool.c
-@@ -167,6 +167,7 @@ video_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
-     /* get an apply the alignment to the info */
-     gst_buffer_pool_config_get_video_alignment (config, &priv->video_align);
-     gst_video_info_align (&info, &priv->video_align);
-+    gst_buffer_pool_config_set_video_alignment (config, &priv->video_align);
-   }
-   priv->info = info;
-
-diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c
-index 6cc2cfa..6a1cbc9 100644
---- a/sys/ximage/ximagepool.c
-+++ b/sys/ximage/ximagepool.c
-@@ -597,6 +597,8 @@ ximage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
-     /* do padding and alignment */
-     gst_video_info_align (&info, &priv->align);
-
-+    gst_buffer_pool_config_set_video_alignment (config, &priv->align);
-+
-     /* we need the video metadata too now */
-     priv->add_metavideo = TRUE;
-   } else {
-diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c
-index 244a51a..34b1ab2 100644
---- a/sys/xvimage/xvimagepool.c
-+++ b/sys/xvimage/xvimagepool.c
-@@ -124,6 +124,8 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
-     /* do padding and alignment */
-     gst_video_info_align (&info, &priv->align);
-
-+    gst_buffer_pool_config_set_video_alignment (config, &priv->align);
-+
-     /* we need the video metadata too now */
-     priv->add_metavideo = TRUE;
-   } else {
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
deleted file mode 100644
index b476969..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From c3f7d36b992a3cbcee3386dea85720f3cb04e1ff Mon Sep 17 00:00:00 2001
-From: Song Bing <b06498@freescale.com>
-Date: Fri, 27 Mar 2015 13:39:43 +0800
-Subject: [PATCH] videoencoder: Keep sticky events around when doing a soft
- reset
-
-The current code will first discard all frames, and then tries to copy
-all sticky events from the (now discarded) frames. Let's change the order.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=746865
-
-Upstream-Status: Accepted 
-
----
- gst-libs/gst/video/gstvideoencoder.c |    8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/gst-libs/gst/video/gstvideoencoder.c b/gst-libs/gst/video/gstvideoencoder.c
-index 614ba2d..4c5b111 100644
---- a/gst-libs/gst/video/gstvideoencoder.c
-+++ b/gst-libs/gst/video/gstvideoencoder.c
-@@ -340,10 +340,6 @@ gst_video_encoder_reset (GstVideoEncoder * encoder, gboolean hard)
- 
-   priv->drained = TRUE;
- 
--  g_list_foreach (priv->frames, (GFunc) gst_video_codec_frame_unref, NULL);
--  g_list_free (priv->frames);
--  priv->frames = NULL;
--
-   priv->bytes = 0;
-   priv->time = 0;
- 
-@@ -392,6 +388,10 @@ gst_video_encoder_reset (GstVideoEncoder * encoder, gboolean hard)
-         encoder->priv->current_frame_events);
-   }
- 
-+  g_list_foreach (priv->frames, (GFunc) gst_video_codec_frame_unref, NULL);
-+  g_list_free (priv->frames);
-+  priv->frames = NULL;
-+
-   GST_VIDEO_ENCODER_STREAM_UNLOCK (encoder);
- 
-   return ret;
--- 
-1.7.9.5
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb
deleted file mode 100644
index b09c2cb..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-include gstreamer1.0-plugins-base.inc
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
-                    file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
-                    file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
-                   "
-
-SRC_URI += "file://do-not-change-eos-event-to-gap-event-if.patch \
-            file://get-caps-from-src-pad-when-query-caps.patch \
-            file://taglist-not-send-to-down-stream-if-all-the-frame-cor.patch \
-            file://fix-id3demux-utf16-to-utf8-issue.patch \
-            file://handle-audio-video-decoder-error.patch \
-            file://videobuffer_updata_alignment_update.patch \
-            file://0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch \
-            file://0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch \
-            file://0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch \
-            file://videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch \
-            file://do-not-change-eos-event-to-gap-event2.patch \
-            file://do-not-change-eos-event-to-gap-event3.patch \
-            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://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
-            file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
-            file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
-"
-
-SRC_URI[md5sum] = "357165af625c0ca353ab47c5d843920e"
-SRC_URI[sha256sum] = "77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d"
-
-S = "${WORKDIR}/gst-plugins-base-${PV}"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb
new file mode 100644
index 0000000..bc780d8
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb
@@ -0,0 +1,18 @@
+include gstreamer1.0-plugins-base.inc
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
+                    file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
+                    file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
+                   "
+
+SRC_URI += "file://get-caps-from-src-pad-when-query-caps.patch \
+            file://0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch \
+            file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
+            file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
+            file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
+"
+
+SRC_URI[md5sum] = "3c223f1d2716e1861ba84287ea02b164"
+SRC_URI[sha256sum] = "314fd1b707f65caf8eb6164d9422fc51e2b220a890ccd2de6ec03a2883d77231"
+
+S = "${WORKDIR}/gst-plugins-base-${PV}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 3/7] gstreamer1.0-plugins-good: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
  2015-09-27 21:48 ` [PATCH 2/7] gstreamer1.0-plugins-base: " Carlos Rafael Giani
@ 2015-09-27 21:48 ` Carlos Rafael Giani
  2015-10-26 17:25   ` Burton, Ross
  2015-09-27 21:48 ` [PATCH 4/7] gstreamer1.0-plugins-bad: " Carlos Rafael Giani
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

decrease_asteriskh263_rank.patch no longer applies, and is obsolete, since
the asteriskh263 rank has been set to NONE in upstream.

Also, --enable-xshm is no longer part of the configure options.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 .../gstreamer/gstreamer1.0-plugins-good.inc        |  7 ++++--
 .../decrease_asteriskh263_rank.patch               | 25 ----------------------
 ...1.4.5.bb => gstreamer1.0-plugins-good_1.6.0.bb} |  8 +++----
 3 files changed, 8 insertions(+), 32 deletions(-)
 delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/decrease_asteriskh263_rank.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.4.5.bb => gstreamer1.0-plugins-good_1.6.0.bb} (67%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
index 6e316de..1dd750d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc
@@ -15,8 +15,8 @@ PACKAGECONFIG ??= " \
     "
 
 X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
-X11ENABLEOPTS = "--enable-x --enable-xshm"
-X11DISABLEOPTS = "--disable-x --disable-xshm"
+X11ENABLEOPTS = "--enable-x"
+X11DISABLEOPTS = "--disable-x"
 PACKAGECONFIG[x11]        = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
 PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
 PACKAGECONFIG[cairo]      = "--enable-cairo,--disable-cairo,cairo"
@@ -39,6 +39,8 @@ PACKAGECONFIG[wavpack]    = "--enable-wavpack,--disable-wavpack,wavpack"
 EXTRA_OECONF += " \
     --enable-oss \
     --enable-gst_v4l2 \
+    --enable-zlib \
+    --enable-bz2 \
     --without-libv4l2 \
     --disable-directsound \
     --disable-waveform \
@@ -47,6 +49,7 @@ EXTRA_OECONF += " \
     --disable-osx_audio \
     --disable-osx_video \
     --disable-aalib \
+    --disable-aalibtest \
     --disable-libcaca \
     --disable-libdv \
     --disable-shout2 \
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/decrease_asteriskh263_rank.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/decrease_asteriskh263_rank.patch
deleted file mode 100755
index 288631b..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/decrease_asteriskh263_rank.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit d71d74daac8ed54156ed103958ab455c63c72b0e
-Author: Song Bing <b06498@freescale.com>
-Date:   Mon Nov 10 11:25:47 2014 +0800
-
-[asteriskh263] decrease the rank as we havn't this kind of decoder.
-
-Decrease the rank as we havn't this kind of decoder.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=739935
-
-Upstream-Status: Pending
-
-Signed-off-by: Song Bing <b06498@freescale.com>
-
-diff --git a/gst/rtp/gstasteriskh263.c b/gst/rtp/gstasteriskh263.c
-index a01fbc8..8fa3194 100644
---- a/gst/rtp/gstasteriskh263.c
-+++ b/gst/rtp/gstasteriskh263.c
-@@ -226,5 +226,5 @@ gboolean
- gst_asteriskh263_plugin_init (GstPlugin * plugin)
- {
-   return gst_element_register (plugin, "asteriskh263",
--      GST_RANK_SECONDARY, GST_TYPE_ASTERISK_H263);
-+      GST_RANK_SECONDARY - 1, GST_TYPE_ASTERISK_H263);
- }
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.6.0.bb
similarity index 67%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.6.0.bb
index 943ab60..d4943de 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.6.0.bb
@@ -4,10 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
                     file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
                     file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
 
-SRC_URI += "file://0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch \
-            file://decrease_asteriskh263_rank.patch \
-"
-SRC_URI[md5sum] = "eaf1a6daf73749bc423feac301d60038"
-SRC_URI[sha256sum] = "79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641"
+SRC_URI += "file://0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch"
+SRC_URI[md5sum] = "a28d0d46c929f0064432d2fd94c12ef1"
+SRC_URI[sha256sum] = "a0915639595305e48884656e22b16fda7c6892aa02cdb3eb43e23dab6e6b81fa"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 4/7] gstreamer1.0-plugins-bad: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
  2015-09-27 21:48 ` [PATCH 2/7] gstreamer1.0-plugins-base: " Carlos Rafael Giani
  2015-09-27 21:48 ` [PATCH 3/7] gstreamer1.0-plugins-good: " Carlos Rafael Giani
@ 2015-09-27 21:48 ` Carlos Rafael Giani
  2015-10-26 17:20   ` Burton, Ross
  2015-09-27 21:48 ` [PATCH 5/7] gstreamer1.0-plugins-ugly: " Carlos Rafael Giani
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
in upstream, and therefore not needed as a separate patch anymore.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 .../gstreamer/gstreamer1.0-plugins-bad.inc         | 46 +++++++++++++---------
 ...heck-for-GL-GLU-EGL-GLES2-libs-if-disable.patch | 41 -------------------
 ..._1.4.5.bb => gstreamer1.0-plugins-bad_1.6.0.bb} |  6 +--
 3 files changed, 30 insertions(+), 63 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.4.5.bb => gstreamer1.0-plugins-bad_1.6.0.bb} (66%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index cdedb60..5dcfb43 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -20,10 +20,12 @@ PACKAGECONFIG ??= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
-    orc curl uvch264 neon sndfile \
-    hls sbc dash bz2 smoothstreaming \
+    orc curl uvch264 neon sndfile hls sbc dash bz2 smoothstreaming rsvg dtls \
     "
 
+# gtk is not in the PACKAGECONFIG variable by default until
+# the transition to gtk+3 is finished
+#
 # dash = Dynamic Adaptive Streaming over HTTP
 PACKAGECONFIG[assrender]       = "--enable-assrender,--disable-assrender,libass"
 PACKAGECONFIG[curl]            = "--enable-curl,--disable-curl,curl"
@@ -55,36 +57,38 @@ PACKAGECONFIG[sndfile]         = "--enable-sndfile,--disable-sndfile,libsndfile1
 PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
 PACKAGECONFIG[rtmp]            = "--enable-rtmp,--disable-rtmp,rtmpdump"
 PACKAGECONFIG[libssh2]         = "--enable-libssh2,--disable-libssh2,libssh2"
+PACKAGECONFIG[dtls]            = "--enable-dtls,--disable-dtls,openssl"
+PACKAGECONFIG[gtk]             = "--enable-gtk3,--disable-gtk3,gtk+3"
+PACKAGECONFIG[qt5]             = "--enable-qt,--disable-qt,qtbase qtdeclarative"
 
 # these plugins have not been ported to 1.0 (yet):
-#   directdraw vcd apexsink dc1394 lv2 linsys musepack mythtv
-#   nas timidity teletextdec sdl xvid wininet acm gsettings
-#   sndio qtwrapper cdxaparse dccp faceoverlay hdvparse tta
-#   mve nuvdemux osx_video patchdetect quicktime real sdi
-#   videomeasure gsettings
+#   apexsink dc1394 lv2 linsys musepack nas timidity teletextdec sdl xvid wininet
+#   acm gsettings sndio cdxaparse dccp faceoverlay hdvparse tta mve nuvdemux
+#   patchdetect real sdi videomeasure gsettings
 
 # these plugins have no corresponding library in OE-core or meta-openembedded:
-#   openni2 winks direct3d directdraw directsound winscreencap osx_video
-#   apple_media android_media avc chromaprint daala dts gme gsm kate ladspa mimic
-#   mpeg2enc mplex ofa openjpeg opensles pvr resindvd rtmp soundtouch spandsp spc
-#   srtp vdpau voaacenc voamrwbenc wasapi zbar
+#   openni2 winks direct3d directsound winscreencap
+#   apple_media android_media avc bs2b chromaprint daala dts gme gsm kate ladspa
+#   libde265 mimic mpeg2enc mplex ofa openh264 opensles pvr resindvd
+#   soundtouch spandsp spc srtp vdpau voaacenc voamrwbenc wasapi x265 zbar
 
 EXTRA_OECONF += " \
     --enable-dvb \
     --enable-shm \
     --enable-fbdev \
     --enable-decklink \
+    --enable-vcd \
     --disable-acm \
     --disable-android_media \
     --disable-apexsink \
     --disable-apple_media \
     --disable-avc \
+    --disable-bs2b \
     --disable-chromaprint \
     --disable-cocoa \
     --disable-daala \
     --disable-dc1394 \
     --disable-direct3d \
-    --disable-directdraw \
     --disable-directsound \
     --disable-dts \
     --disable-gme \
@@ -92,20 +96,22 @@ EXTRA_OECONF += " \
     --disable-gsm \
     --disable-kate \
     --disable-ladspa \
+    --disable-libvisual \
+    --disable-libde265 \
     --disable-linsys \
     --disable-lv2 \
     --disable-mimic \
     --disable-mpeg2enc \
     --disable-mplex \
     --disable-musepack \
-    --disable-mythtv \
     --disable-nas \
     --disable-ofa \
+    --disable-openexr \
+    --disable-openh264 \
     --disable-openjpeg \
+    --disable-openni2 \
     --disable-opensles \
-    --disable-osx_video \
     --disable-pvr \
-    --disable-quicktime \
     --disable-resindvd \
     --disable-sdl \
     --disable-sdltest \
@@ -116,20 +122,24 @@ EXTRA_OECONF += " \
     --disable-srtp \
     --disable-teletextdec \
     --disable-timidity \
-    --disable-vcd \
     --disable-vdpau \
     --disable-voaacenc \
     --disable-voamrwbenc \
     --disable-wasapi \
     --disable-wildmidi \
     --disable-wininet \
+    --disable-winks \
     --disable-winscreencap \
+    --disable-x265 \
     --disable-xvid \
     --disable-zbar \
     ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
     "
 
-ARM_INSTRUCTION_SET = "arm"
+OPENCV_PREFIX="${STAGING_DIR_TARGET}${prefix}"
+export OPENCV_PREFIX
 
-FILES_gstreamer1.0-plugins-bad-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
+ARM_INSTRUCTION_SET = "arm"
 
+FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
+FILES_${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch
deleted file mode 100644
index 042a32c..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From deba0da45ec821209a7ed148a4521d562e6512cd Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani <dv@pseudoterminal.org>
-Date: Wed, 27 Aug 2014 14:47:25 +0200
-Subject: [PATCH] gl: do not check for GL/GLU/EGL/GLES2 libs if disabled in
- configuration
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=735522]
-
-Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
----
- configure.ac | 14 ++++++++++----
- 1 file changed, 10 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1a46afb..e85d4ba 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -661,10 +661,16 @@ case $host in
-     fi
-   ;;
-   *)
--    AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
--    AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
--    AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
--    AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h)
-+    if test "x$NEED_GL" != "xno"; then
-+      AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
-+      AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
-+    fi
-+    if test "x$NEED_GLES2" != "xno"; then
-+      AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
-+    fi
-+    if test "x$NEED_EGL" != "xno"; then
-+      AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h)
-+    fi
- 
-     old_LIBS=$LIBS
-     old_CFLAGS=$CFLAGS
--- 
-1.8.3.2
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.0.bb
similarity index 66%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.0.bb
index 59065de..d523977 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.6.0.bb
@@ -5,10 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
                     file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \
                     file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50"
 
-SRC_URI += "file://0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch"
-
-SRC_URI[md5sum] = "e0bb39412cf4a48fe0397bcf3a7cd451"
-SRC_URI[sha256sum] = "152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c"
+SRC_URI[md5sum] = "111632f8d1d1ba39bbf3665aaafcb28c"
+SRC_URI[sha256sum] = "d8ff26128d4ecd2ffeb28e14843808d2d971b09056b7cee6f08afcae01fc0f49"
 
 S = "${WORKDIR}/gst-plugins-bad-${PV}"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 5/7] gstreamer1.0-plugins-ugly: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
                   ` (2 preceding siblings ...)
  2015-09-27 21:48 ` [PATCH 4/7] gstreamer1.0-plugins-bad: " Carlos Rafael Giani
@ 2015-09-27 21:48 ` Carlos Rafael Giani
  2015-09-27 21:48 ` [PATCH 6/7] gstreamer1.0-libav: " Carlos Rafael Giani
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc       | 1 +
 ...er1.0-plugins-ugly_1.4.5.bb => gstreamer1.0-plugins-ugly_1.6.0.bb} | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.4.5.bb => gstreamer1.0-plugins-ugly_1.6.0.bb} (66%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
index 63ba316..10362b5 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc
@@ -28,3 +28,4 @@ EXTRA_OECONF += " \
     --disable-twolame \
     "
 
+FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.6.0.bb
similarity index 66%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.4.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.6.0.bb
index 25cb28c..10c6e8f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.6.0.bb
@@ -3,8 +3,8 @@ include gstreamer1.0-plugins-ugly.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
                     file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068 "
 
-SRC_URI[md5sum] = "6954beed7bb9a93e426dee543ff46393"
-SRC_URI[sha256sum] = "5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067"
+SRC_URI[md5sum] = "7df6ab044d7754c1087375ce5f770be8"
+SRC_URI[sha256sum] = "91178dc0d687a83c083190a905681d3a66901374b1004fc52cd300b7802e5f06"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 6/7] gstreamer1.0-libav: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
                   ` (3 preceding siblings ...)
  2015-09-27 21:48 ` [PATCH 5/7] gstreamer1.0-plugins-ugly: " Carlos Rafael Giani
@ 2015-09-27 21:48 ` Carlos Rafael Giani
  2015-09-27 21:48 ` [PATCH 7/7] gstreamer1.0-rtsp-server: " Carlos Rafael Giani
  2015-09-28  9:17 ` [PATCH 1/7] gstreamer1.0: " Burton, Ross
  6 siblings, 0 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

The lgpl PACKAGECONFIG is replaced by a gpl one,
since the LGPL build is the default now. There is no
--enable-lgpl switch anymore, it got replaced by
--enable-gpl.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc             | 4 ++--
 .../workaround-to-build-gst-libav-for-i586-with-gcc.patch            | 2 +-
 .../{gstreamer1.0-libav_1.4.5.bb => gstreamer1.0-libav_1.6.0.bb}     | 5 ++---
 3 files changed, 5 insertions(+), 6 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.4.5.bb => gstreamer1.0-libav_1.6.0.bb} (83%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
index 84e6e95..132b63d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -3,7 +3,7 @@ SECTION = "multimedia"
 LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )"
 LICENSE_FLAGS = "commercial"
 HOMEPAGE = "http://www.gstreamer.net/"
-DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2"
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2 xz"
 
 inherit autotools pkgconfig
 
@@ -12,7 +12,7 @@ inherit autotools pkgconfig
 # libav copy included in the gst-libav package.
 PACKAGECONFIG ??= " orc yasm "
 PACKAGECONFIG[libav] = "--with-system-libav,,libav"
-PACKAGECONFIG[lgpl]  = "--enable-lgpl,,"
+PACKAGECONFIG[gpl]  = "--enable-gpl,,"
 PACKAGECONFIG[yasm]  = "--enable-yasm,--disable-yasm,yasm-native"
 PACKAGECONFIG[orc]  = "--enable-orc,--disable-orc,orc"
 
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
index ccadea4..36abf86 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
@@ -22,5 +22,5 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
 +            ( (unsigned char*)(h->non_zero_count[mb_xy]) ) [i] = 16;
 +        }
          h->cur_pic.mb_type[mb_xy] = mb_type;
-         h->last_qscale_diff = 0;
+         sl->last_qscale_diff = 0;
          return 0;
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.0.bb
similarity index 83%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.0.bb
index 97fc7ec..ce270fb 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.0.bb
@@ -3,7 +3,6 @@ include gstreamer1.0-libav.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
                     file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
-                    file://gst-libs/ext/libav/LICENSE;md5=ea66e97a7ac1db978cf3529068a8c948 \
                     file://gst-libs/ext/libav/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://gst-libs/ext/libav/COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
                     file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
@@ -14,8 +13,8 @@ SRC_URI = " \
     file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \
     file://workaround-to-build-gst-libav-for-i586-with-gcc.patch \
 "
-SRC_URI[md5sum] = "f4922a46adbcbe7bd01331ff5dc7979d"
-SRC_URI[sha256sum] = "605c62624604f3bb5c870844cc1f2711779cc533b004c2aa1d8c0d58557afbbc"
+SRC_URI[md5sum] = "eda67328be0878bb73449c29ca55baf8"
+SRC_URI[sha256sum] = "6cca6cf73182a882768ef0c860af88c2fd2c77e2c81ce464a998ab4e6baa604c"
 
 LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
   --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 7/7] gstreamer1.0-rtsp-server: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
                   ` (4 preceding siblings ...)
  2015-09-27 21:48 ` [PATCH 6/7] gstreamer1.0-libav: " Carlos Rafael Giani
@ 2015-09-27 21:48 ` Carlos Rafael Giani
  2015-09-28  9:17 ` [PATCH 1/7] gstreamer1.0: " Burton, Ross
  6 siblings, 0 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-27 21:48 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bb | 6 ------
 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.0.bb | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bb
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.0.bb

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bb
deleted file mode 100644
index bb9b42b..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.4.5.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-include gstreamer1.0-rtsp-server.inc
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
-
-SRC_URI[md5sum] = "a9f9b8899ec7ab33663cda7627db40d3"
-SRC_URI[sha256sum] = "3089254bd31b7c1f1cf2c034a3b3551f92878f9e3cab65cef3a901a04c0f1d37"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.0.bb
new file mode 100644
index 0000000..4746230
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.6.0.bb
@@ -0,0 +1,6 @@
+include gstreamer1.0-rtsp-server.inc
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
+
+SRC_URI[md5sum] = "c8162f67c184663c1e1aa3ce872ef1e3"
+SRC_URI[sha256sum] = "1e1526d700ba36df5b30c887ccc37179903255022e57f716afb3ef172fe0746f"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/7] gstreamer1.0-plugins-base: upgrade to version 1.6.0
  2015-09-27 21:48 ` [PATCH 2/7] gstreamer1.0-plugins-base: " Carlos Rafael Giani
@ 2015-09-28  1:07   ` Khem Raj
  2015-09-28  6:44     ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Khem Raj @ 2015-09-28  1:07 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: Patches and discussions about the oe-core layer

On Sun, Sep 27, 2015 at 2:48 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> A number of patches had to be deleted in order for the recipe to work.
>
> Patches which cannot be applied cleanly to 1.6.0 and are nontrivial to fix:
> * 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
> * do-not-change-eos-event-to-gap-event2.patch
> * do-not-change-eos-event-to-gap-event3.patch
> * do-not-change-eos-event-to-gap-event-if.patch
> * handle-audio-video-decoder-error.patch
> * taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
>

has these been dropped ? if so then what do we lose.

> Patches which either were backports or accepted and integrated:
> * 0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
> * 0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
> * 0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
> * fix-id3demux-utf16-to-utf8-issue.patch
> * videobuffer_updata_alignment_update.patch
> * videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> ---
>  .../gstreamer/gstreamer1.0-plugins-base.inc        |  20 ++--
>  ...rlay-make-memory-copy-when-video-buffer-s.patch | 129 ---------------------
>  ...rame-Don-t-ref-buffers-twice-when-mapping.patch |  26 -----
>  ...frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch |  87 --------------
>  ...r-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch |  69 -----------
>  .../do-not-change-eos-event-to-gap-event-if.patch  |  37 ------
>  .../do-not-change-eos-event-to-gap-event2.patch    |  49 --------
>  .../do-not-change-eos-event-to-gap-event3.patch    |  31 -----
>  .../fix-id3demux-utf16-to-utf8-issue.patch         |  54 ---------
>  .../handle-audio-video-decoder-error.patch         |  64 ----------
>  ...-send-to-down-stream-if-all-the-frame-cor.patch |  57 ---------
>  .../videobuffer_updata_alignment_update.patch      |  53 ---------
>  ...p-sticky-events-around-when-doing-a-soft-.patch |  46 --------
>  .../gstreamer/gstreamer1.0-plugins-base_1.4.5.bb   |  30 -----
>  .../gstreamer/gstreamer1.0-plugins-base_1.6.0.bb   |  18 +++
>  15 files changed, 29 insertions(+), 741 deletions(-)
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch
>  delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch
>  delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch
>  delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch
>  delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
>  delete mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb
>  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
> index 47f3f40..fbb6c59 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc
> @@ -3,7 +3,7 @@ require gstreamer1.0-plugins.inc
>  LICENSE = "GPLv2+ & LGPLv2+"
>
>  DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}"
> -DEPENDS += "freetype liboil util-linux"
> +DEPENDS += "freetype liboil util-linux iso-codes zlib"
>
>  inherit gettext
>
> @@ -12,23 +12,25 @@ PACKAGES_DYNAMIC =+ "^libgst.*"
>  PACKAGECONFIG ??= " \
>      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
>      ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
> -    orc ivorbis ogg theora vorbis pango \
> +    orc ivorbis ogg theora vorbis pango gio-unix-2.0 \
>      "
>
>  X11DEPENDS = "virtual/libx11 libsm libxrender"
>  X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm"
>  X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm"
> -PACKAGECONFIG[x11]     = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
> -PACKAGECONFIG[alsa]    = "--enable-alsa,--disable-alsa,alsa-lib"
> -PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor"
> -PACKAGECONFIG[ogg]     = "--enable-ogg,--disable-ogg,libogg"
> -PACKAGECONFIG[theora]  = "--enable-theora,--disable-theora,libtheora"
> -PACKAGECONFIG[vorbis]  = "--enable-vorbis,--disable-vorbis,libvorbis"
> -PACKAGECONFIG[pango]   = "--enable-pango,--disable-pango,pango"
> +PACKAGECONFIG[x11]          = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
> +PACKAGECONFIG[alsa]         = "--enable-alsa,--disable-alsa,alsa-lib"
> +PACKAGECONFIG[ivorbis]      = "--enable-ivorbis,--disable-ivorbis,tremor"
> +PACKAGECONFIG[ogg]          = "--enable-ogg,--disable-ogg,libogg"
> +PACKAGECONFIG[theora]       = "--enable-theora,--disable-theora,libtheora"
> +PACKAGECONFIG[vorbis]       = "--enable-vorbis,--disable-vorbis,libvorbis"
> +PACKAGECONFIG[pango]        = "--enable-pango,--disable-pango,pango"
> +PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0"
>
>
>  # cdparanoia and libvisual do not seem to exist anywhere in OE
>  EXTRA_OECONF += " \
> +    --enable-zlib \
>      --disable-freetypetest \
>      --disable-cdparanoia \
>      --disable-libvisual \
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
> deleted file mode 100644
> index 03dca95..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
> +++ /dev/null
> @@ -1,129 +0,0 @@
> -From 3781d40940d46d7e6a502092d24aac7997f6da5b Mon Sep 17 00:00:00 2001
> -From: Mingke Wang <mingke.wang@freescale.com>
> -Date: Thu, 5 Mar 2015 12:06:23 +0800
> -Subject: [PATCH 1/4] 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.
> -2.  new feature is no added if caps has no feature during caps negotiation
> -
> -Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=747495]
> -
> -Signed-off-by: Mingke Wang <mingke.wang@freescale.com>
> -
> -diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c
> -index c919861..3c0a1d7 100755
> ---- a/ext/pango/gstbasetextoverlay.c
> -+++ b/ext/pango/gstbasetextoverlay.c
> -@@ -747,6 +747,7 @@ gst_base_text_overlay_negotiate (GstBaseTextOverlay * overlay, GstCaps * caps)
> -     if (f == NULL) {
> -       f = gst_caps_features_new
> -           (GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION, NULL);
> -+      gst_caps_set_features(overlay_caps, 0, f);
> -     } else {
> -       gst_caps_features_add (f,
> -           GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION);
> -@@ -1890,16 +1891,71 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
> -   if (gst_pad_check_reconfigure (overlay->srcpad))
> -     gst_base_text_overlay_negotiate (overlay, NULL);
> -
> --  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 m = gst_buffer_n_memory(video_frame);
> -+  gboolean mem_rdonly = FALSE;
> -+  GstMemory *mem;
> -+  GstBuffer *orig = video_frame;
> -+
> -+  while (--m>=0) {
> -+    mem = gst_buffer_get_memory(video_frame, m);
> -+    if (GST_MEMORY_IS_READONLY(mem)) {
> -+      mem_rdonly = TRUE;
> -+      gst_memory_unref (mem);
> -+      break;
> -+    }
> -+    gst_memory_unref (mem);
> -+  }
> -+
> -+  if (mem_rdonly) {
> -+    // 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.
> -+    GstBuffer *new_buf = gst_buffer_copy_region (video_frame,
> -+        GST_BUFFER_COPY_ALL | GST_BUFFER_COPY_DEEP, 0, -1);
> -+
> -+    GST_DEBUG_OBJECT (overlay, "copy %s video frame buffer %p -> %p",
> -+        g_type_name (GST_MINI_OBJECT_TYPE (video_frame)), video_frame, new_buf);
> -+
> -+    if (!new_buf) {
> -+      //maybe the allocator don't support mem_copy interface, the we just use
> -+      //gst_buffer_make_writable() to get a writable buffer.
> -+      video_frame = gst_buffer_make_writable (video_frame);
> -+    } else {
> -+      gst_mini_object_unref (video_frame);
> -+      GST_BUFFER_FLAG_UNSET (new_buf, GST_BUFFER_FLAG_TAG_MEMORY);
> -+      video_frame = new_buf;
> -+    }
> -+
> -+    if (!video_frame) {
> -+      GST_WARNING_OBJECT (overlay, "make writable buffer failed");
> -+      return GST_FLOW_OK;
> -+    }
> -+
> -+    m = gst_buffer_n_memory(video_frame);
> -+    while (--m>=0) {
> -+      mem = gst_buffer_get_memory(video_frame, m);
> -+      GST_MEMORY_FLAG_UNSET (mem, GST_MEMORY_FLAG_READONLY);
> -+      gst_memory_unref (mem);
> -+    }
> -+  } 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;
> -@@ -1918,6 +1974,18 @@ gst_base_text_overlay_push_frame (GstBaseTextOverlay * overlay,
> -
> -   gst_video_frame_unmap (&frame);
> -
> -+  if (mem_rdonly && orig == video_frame) {
> -+    //if we used the original buffer and it's mem is set to read only,
> -+    //recover the memory ready only flag since we unset it before
> -+    // gst_video_frame_map ()
> -+    m = gst_buffer_n_memory(video_frame);
> -+    while (--m>=0) {
> -+      mem = gst_buffer_get_memory(video_frame, m);
> -+      GST_MEMORY_FLAGS(mem) |= (GST_MEMORY_FLAG_READONLY);
> -+      gst_memory_unref (mem);
> -+    }
> -+  }
> -+
> - done:
> -
> -   return gst_pad_push (overlay->srcpad, video_frame);
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
> deleted file mode 100644
> index 3db4724..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -From 269f642c45d85cfd630ed490478e6bd6b71a767f Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
> -Date: Tue, 16 Sep 2014 01:07:18 +0300
> -Subject: [PATCH] video-frame: Don't ref buffers twice when mapping
> -
> -Upstream-Status: Backport [1.5.1]
> ----
> - gst-libs/gst/video/video-frame.c |    2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/gst-libs/gst/video/video-frame.c b/gst-libs/gst/video/video-frame.c
> -index 01f23c0..8a9ae96 100644
> ---- a/gst-libs/gst/video/video-frame.c
> -+++ b/gst-libs/gst/video/video-frame.c
> -@@ -105,7 +105,7 @@ gst_video_frame_map_id (GstVideoFrame * frame, GstVideoInfo * info,
> -       frame->data[i] = frame->map[0].data + info->offset[i];
> -     }
> -   }
> --  frame->buffer = gst_buffer_ref (buffer);
> -+  frame->buffer = buffer;
> -   if ((flags & GST_VIDEO_FRAME_MAP_FLAG_NO_REF) == 0)
> -     gst_buffer_ref (frame->buffer);
> -
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
> deleted file mode 100644
> index c465b5c..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
> +++ /dev/null
> @@ -1,87 +0,0 @@
> -From 40a293d44d1aeccf5eb8e86f23a0b13666111c5c Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
> -Date: Fri, 12 Sep 2014 14:39:16 +0300
> -Subject: [PATCH 2/3] video-frame: Add GST_VIDEO_FRAME_MAP_FLAG_NO_REF
> -
> -This makes sure that the buffer is not reffed another time when
> -storing it in the GstVideoFrame, keeping it writable if it was
> -writable.
> -
> -Upstream-Status: Backport [1.5.1]
> -https://bugzilla.gnome.org/show_bug.cgi?id=736118
> ----
> - gst-libs/gst/video/video-frame.c |    9 ++++++++-
> - gst-libs/gst/video/video-frame.h |   18 ++++++++++++++++++
> - 2 files changed, 26 insertions(+), 1 deletion(-)
> -
> -diff --git a/gst-libs/gst/video/video-frame.c b/gst-libs/gst/video/video-frame.c
> -index 537cf70..01f23c0 100644
> ---- a/gst-libs/gst/video/video-frame.c
> -+++ b/gst-libs/gst/video/video-frame.c
> -@@ -106,6 +106,9 @@ gst_video_frame_map_id (GstVideoFrame * frame, GstVideoInfo * info,
> -     }
> -   }
> -   frame->buffer = gst_buffer_ref (buffer);
> -+  if ((flags & GST_VIDEO_FRAME_MAP_FLAG_NO_REF) == 0)
> -+    gst_buffer_ref (frame->buffer);
> -+
> -   frame->meta = meta;
> -
> -   /* buffer flags enhance the frame flags */
> -@@ -189,11 +192,13 @@ gst_video_frame_unmap (GstVideoFrame * frame)
> -   GstBuffer *buffer;
> -   GstVideoMeta *meta;
> -   gint i;
> -+  GstMapFlags flags;
> -
> -   g_return_if_fail (frame != NULL);
> -
> -   buffer = frame->buffer;
> -   meta = frame->meta;
> -+  flags = frame->map[0].flags;
> -
> -   if (meta) {
> -     for (i = 0; i < frame->info.finfo->n_planes; i++) {
> -@@ -202,7 +207,9 @@ gst_video_frame_unmap (GstVideoFrame * frame)
> -   } else {
> -     gst_buffer_unmap (buffer, &frame->map[0]);
> -   }
> --  gst_buffer_unref (buffer);
> -+
> -+  if ((flags & GST_VIDEO_FRAME_MAP_FLAG_NO_REF) == 0)
> -+    gst_buffer_unref (frame->buffer);
> - }
> -
> - /**
> -diff --git a/gst-libs/gst/video/video-frame.h b/gst-libs/gst/video/video-frame.h
> -index 627fab0..f8e6304 100644
> ---- a/gst-libs/gst/video/video-frame.h
> -+++ b/gst-libs/gst/video/video-frame.h
> -@@ -149,6 +149,24 @@ typedef enum {
> -   GST_VIDEO_BUFFER_FLAG_LAST        = (GST_BUFFER_FLAG_LAST << 8)
> - } GstVideoBufferFlags;
> -
> -+/**
> -+ * GstVideoBufferFlags:
> -+ * @GST_VIDEO_FRAME_MAP_FLAG_NO_REF:  Don't take another reference of the buffer and store it in
> -+ *                                    the GstVideoFrame. This makes sure that the buffer stays
> -+ *                                    writable while the frame is mapped, but requires that the
> -+ *                                    buffer reference stays valid until the frame is unmapped again.
> -+ * @GST_VIDEO_FRAME_MAP_FLAG_LAST:    Offset to define more flags
> -+ *
> -+ * Additional mapping flags for gst_video_frame_map().
> -+ *
> -+ * Since: 1.6
> -+ */
> -+typedef enum {
> -+  GST_VIDEO_FRAME_MAP_FLAG_NO_REF   = (GST_MAP_FLAG_LAST << 0),
> -+  GST_VIDEO_FRAME_MAP_FLAG_LAST     = (GST_MAP_FLAG_LAST << 8)
> -+  /* 8 more flags possible afterwards */
> -+} GstVideoFrameMapFlags;
> -+
> - G_END_DECLS
> -
> - #endif /* __GST_VIDEO_FRAME_H__ */
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
> deleted file mode 100644
> index 132bf06..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
> +++ /dev/null
> @@ -1,69 +0,0 @@
> -From 3a7cdcdfc9c5b0d20394fe51b3b8cda23931ca6d Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
> -Date: Fri, 12 Sep 2014 14:41:01 +0300
> -Subject: [PATCH 3/3] videofilter: Use new GST_VIDEO_FRAME_MAP_FLAG_NO_REF
> -
> -Upstream-Status: Backport [1.5.1]
> -https://bugzilla.gnome.org/show_bug.cgi?id=736118
> ----
> - gst-libs/gst/video/gstvideofilter.c |   23 ++++-------------------
> - 1 file changed, 4 insertions(+), 19 deletions(-)
> -
> -diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c
> -index e1fa2c1..874b2e8 100644
> ---- a/gst-libs/gst/video/gstvideofilter.c
> -+++ b/gst-libs/gst/video/gstvideofilter.c
> -@@ -260,23 +260,15 @@ gst_video_filter_transform (GstBaseTransform * trans, GstBuffer * inbuf,
> -   if (fclass->transform_frame) {
> -     GstVideoFrame in_frame, out_frame;
> -
> --    if (!gst_video_frame_map (&in_frame, &filter->in_info, inbuf, GST_MAP_READ))
> -+    if (!gst_video_frame_map (&in_frame, &filter->in_info, inbuf,
> -+            GST_MAP_READ | GST_VIDEO_FRAME_MAP_FLAG_NO_REF))
> -       goto invalid_buffer;
> -
> -     if (!gst_video_frame_map (&out_frame, &filter->out_info, outbuf,
> --            GST_MAP_WRITE))
> -+            GST_MAP_WRITE | GST_VIDEO_FRAME_MAP_FLAG_NO_REF))
> -       goto invalid_buffer;
> -
> --    /* GstVideoFrame has another reference, so the buffer looks unwriteable,
> --     * meaning that we can't attach any metas or anything to it. Other
> --     * map() functions like gst_buffer_map() don't get another reference
> --     * of the buffer and expect the buffer reference to be kept until
> --     * the buffer is unmapped again. */
> --    gst_buffer_unref (inbuf);
> --    gst_buffer_unref (outbuf);
> -     res = fclass->transform_frame (filter, &in_frame, &out_frame);
> --    gst_buffer_ref (inbuf);
> --    gst_buffer_ref (outbuf);
> -
> -     gst_video_frame_unmap (&out_frame);
> -     gst_video_frame_unmap (&in_frame);
> -@@ -317,7 +309,7 @@ gst_video_filter_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
> -     GstVideoFrame frame;
> -     GstMapFlags flags;
> -
> --    flags = GST_MAP_READ;
> -+    flags = GST_MAP_READ | GST_VIDEO_FRAME_MAP_FLAG_NO_REF;
> -
> -     if (!gst_base_transform_is_passthrough (trans))
> -       flags |= GST_MAP_WRITE;
> -@@ -325,14 +317,7 @@ gst_video_filter_transform_ip (GstBaseTransform * trans, GstBuffer * buf)
> -     if (!gst_video_frame_map (&frame, &filter->in_info, buf, flags))
> -       goto invalid_buffer;
> -
> --    /* GstVideoFrame has another reference, so the buffer looks unwriteable,
> --     * meaning that we can't attach any metas or anything to it. Other
> --     * map() functions like gst_buffer_map() don't get another reference
> --     * of the buffer and expect the buffer reference to be kept until
> --     * the buffer is unmapped again. */
> --    gst_buffer_unref (buf);
> -     res = fclass->transform_frame_ip (filter, &frame);
> --    gst_buffer_ref (buf);
> -
> -     gst_video_frame_unmap (&frame);
> -   } else {
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch
> deleted file mode 100644
> index aa55de1..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event-if.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -From b608d027fff6efc2d1988ebf169cbe3b2b44a61b Mon Sep 17 00:00:00 2001
> -From: zhouming <b42586@freescale.com>
> -Date: Thu, 8 May 2014 12:01:17 +0800
> -Subject: [PATCH] ENGR00312034: do not change eos event to gap event if no
> - data has passed to streamsynchronizer.
> -
> -https://bugzilla.gnome.org/show_bug.cgi?id=727074
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: zhouming <b42586@freescale.com>
> ----
> - gst/playback/gststreamsynchronizer.c |    5 ++---
> - 1 file changed, 2 insertions(+), 3 deletions(-)
> -
> -diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
> -index 3997d1b..3e17c55 100644
> ---- a/gst/playback/gststreamsynchronizer.c
> -+++ b/gst/playback/gststreamsynchronizer.c
> -@@ -488,12 +488,11 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
> -         }
> -         g_slist_free (pads);
> -       } else {
> --        /* if EOS, but no data has passed, then send something to replace EOS
> --         * for preroll purposes */
> -+        /* if EOS, but no data has passed, then send EOS event */
> -         if (!seen_data) {
> -           GstEvent *gap_event;
> -
> --          gap_event = gst_event_new_gap (timestamp, GST_CLOCK_TIME_NONE);
> -+          gap_event = gst_event_new_eos ();
> -           ret = gst_pad_push_event (srcpad, gap_event);
> -         } else {
> -           GstEvent *gap_event;
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch
> deleted file mode 100755
> index f24bc7c..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event2.patch
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -commit f9536544f5ad182b4f78d0143d1daa45dd64e624
> -Author: Song Bing <b06498@freescale.com>
> -Date:   Thu Oct 9 17:37:43 2014 +0800
> -
> -[gststreamsynchronizer] send EOS event insterd of GAP event as GAP
> -event has issue when A/V have different duration.
> -
> -send EOS event insterd of GAP event as GAP event has issue when A/V have different duration.
> -
> -Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=736655]
> -
> -Signed-off-by: Song Bing <b06498@freescale.com>
> -
> -diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
> -index 3e17c55..ff42d72 100644
> ---- a/gst/playback/gststreamsynchronizer.c
> -+++ b/gst/playback/gststreamsynchronizer.c
> -@@ -488,19 +488,24 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
> -         }
> -         g_slist_free (pads);
> -       } else {
> --        /* if EOS, but no data has passed, then send EOS event */
> -+        /* if EOS, but no data has passed, then send something to replace EOS
> -+         * for preroll purposes */
> -         if (!seen_data) {
> --          GstEvent *gap_event;
> -+          GstEvent *eos_event;
> -
> --          gap_event = gst_event_new_eos ();
> --          ret = gst_pad_push_event (srcpad, gap_event);
> -+          /* FIXME: change to EOS event as GAP event has issue when A/V have
> -+           * different duration */
> -+          eos_event = gst_event_new_eos ();
> -+          ret = gst_pad_push_event (srcpad, eos_event);
> -         } else {
> --          GstEvent *gap_event;
> -+          GstEvent *eos_event;
> -
> -           /* FIXME: Also send a GAP event to let audio sinks start their
> -            * clock in case they did not have enough data yet */
> --          gap_event = gst_event_new_gap (timestamp, GST_CLOCK_TIME_NONE);
> --          ret = gst_pad_push_event (srcpad, gap_event);
> -+          /* FIXME: change to EOS event as GAP event has issue when A/V have
> -+           * different duration */
> -+          eos_event = gst_event_new_eos ();
> -+          ret = gst_pad_push_event (srcpad, eos_event);
> -         }
> -       }
> -       gst_object_unref (srcpad);
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch
> deleted file mode 100755
> index 731be68..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/do-not-change-eos-event-to-gap-event3.patch
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -commit 3f7052aac5e0118a9a9e09fff2f65091be448972
> -Author: Song Bing <b06498@freescale.com>
> -Date:   Thu Oct 23 13:35:13 2014 +0800
> -
> -[streamsynchronizer] One stream can finish playback.
> -
> -As changed GAP event EOS event, so EOS will send more times, which will
> -cause send function return error.
> -Streamsynchronizer will don’t send second track EOS event if send the
> -first track EOS return fail. Fixed by ignore the return error.
> -
> -Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=736655]
> -
> -Signed-off-by: Song Bing b06498@freescale.com
> -
> -diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
> -index ff42d72..d1732c3 100644
> ---- a/gst/playback/gststreamsynchronizer.c
> -+++ b/gst/playback/gststreamsynchronizer.c
> -@@ -482,7 +482,10 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
> -         while (epad) {
> -           pad = epad->data;
> -           GST_DEBUG_OBJECT (pad, "Pushing EOS");
> --          ret = ret && gst_pad_push_event (pad, gst_event_new_eos ());
> -+          /* FIXME: remove error check as GAP changed to EOS will send EOS
> -+           * more times, which will cause return error and then don't send
> -+           * EOS event to following tracks. */
> -+          gst_pad_push_event (pad, gst_event_new_eos ());
> -           gst_object_unref (pad);
> -           epad = g_slist_next (epad);
> -         }
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch
> deleted file mode 100755
> index ef3f75f..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/fix-id3demux-utf16-to-utf8-issue.patch
> +++ /dev/null
> @@ -1,54 +0,0 @@
> -Author: Lyon Wang <b12696@freescale.com>
> -Date:   Thu Oct 9 17:37:43 2014 +0800
> -
> -[id3v2frames] Bug fix for id3demux issue
> -
> -Fix the issue that id3 tags utf16 charaters cannot be extreacted in id3demux
> -when I tried to get the id3v2 tag such as TIT2, TALB etc. it will return extrac
> -failed.
> -
> -Checked in id3v2frame.c,  When parse the UTF-16 streams, it used g_convert() to
> -convert the buffer from UTF-16 to UTF-8, however it will return err that this
> -conversion is not supported which cause the extraction failed with these UTF-16
> -characters.
> -
> -In the patch, use g_utf16_to_utf8() instead of g_convert, which can convert the
> -character format successfully.
> -
> -https://bugzilla.gnome.org/show_bug.cgi?id=741144
> -
> -Upstream-Status: Backport [1.5.1]
> -
> -Signed-off-by: Lyon Wang <b12696@freescale.com>
> -
> -diff --git a/gst-libs/gst/tag/id3v2frames.c b/gst-libs/gst/tag/id3v2frames.c
> -old mode 100644
> -new mode 100755
> -index 3785c2a..7b9d8ac
> ---- a/gst-libs/gst/tag/id3v2frames.c
> -+++ b/gst-libs/gst/tag/id3v2frames.c
> -@@ -1057,14 +1057,17 @@ parse_insert_string_field (guint8 encoding, gchar * data, gint data_size,
> -         data_size -= 2;
> -       }
> -
> --      field = g_convert (data, data_size, "UTF-8", in_encode, NULL, NULL, NULL);
> --
> --      if (field == NULL || g_utf8_validate (field, -1, NULL) == FALSE) {
> --        /* As a fallback, try interpreting UTF-16 in the other endianness */
> --        if (in_encode == utf16beenc)
> --          field = g_convert (data, data_size, "UTF-8", utf16leenc,
> --              NULL, NULL, NULL);
> -+      if (in_encode == utf16beenc) {
> -+           gunichar2 *data_utf16;
> -+           guint i;
> -+           data_utf16 =  (gunichar2 *) data;
> -+          for (i=0; i<(data_size>>1); i++) {
> -+            data_utf16[i] = GUINT16_TO_LE (data_utf16[i]);
> -+          }
> -       }
> -+      //field = g_convert (data, data_size, "UTF-8", in_encode, NULL, NULL, NULL);
> -+       field = g_utf16_to_utf8((gunichar2 *)data, (glong)(data_size>>1), NULL, NULL, NULL);
> -+
> -     }
> -
> -       break;
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch
> deleted file mode 100755
> index 833ce72..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/handle-audio-video-decoder-error.patch
> +++ /dev/null
> @@ -1,64 +0,0 @@
> -From bcb2b8b6f49e7c66124a4f5e07dea829d5ebfe59 Mon Sep 17 00:00:00 2001
> -From: Lyon Wang <lyon.wang@freescale.com>
> -Date: Mon, 15 Dec 2014 16:52:07 +0800
> -Subject: [PATCH] handle audio/video decoder error
> -
> -When there is input data and no output data to the end of the stream, it will
> -send GST_ELEMENT_ERROR, So the clips playing will quit.
> -However, if only one of the tracks is corrupt, there is no need to quit other
> -tracks playing.
> -
> -The patch comments the GST_ELEMENT_ERROR() and just add GST_ERROR_OBJECT()
> -information instead.
> -
> -Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=741542]
> -
> -Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
> ----
> - gst-libs/gst/audio/gstaudiodecoder.c |    5 +++--
> - gst-libs/gst/video/gstvideodecoder.c |    5 +++--
> - 2 files changed, 6 insertions(+), 4 deletions(-)
> - mode change 100644 => 100755 gst-libs/gst/audio/gstaudiodecoder.c
> - mode change 100644 => 100755 gst-libs/gst/video/gstvideodecoder.c
> -
> -diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
> -old mode 100644
> -new mode 100755
> -index c2e7a28..891df0a
> ---- a/gst-libs/gst/audio/gstaudiodecoder.c
> -+++ b/gst-libs/gst/audio/gstaudiodecoder.c
> -@@ -2123,9 +2123,10 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
> -       GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
> -
> -       if (dec->priv->ctx.had_input_data && !dec->priv->ctx.had_output_data) {
> --        GST_ELEMENT_ERROR (dec, STREAM, DECODE,
> -+        /* GST_ELEMENT_ERROR (dec, STREAM, DECODE,
> -             ("No valid frames decoded before end of stream"),
> --            ("no valid frames found"));
> -+            ("no valid frames found")); */
> -+        GST_ERROR_OBJECT(dec, "No valid frames decoded before end of stream");
> -       }
> -
> -       /* send taglist if no valid frame is decoded util EOS */
> -diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c
> -old mode 100644
> -new mode 100755
> -index ac581e1..4278bcd
> ---- a/gst-libs/gst/video/gstvideodecoder.c
> -+++ b/gst-libs/gst/video/gstvideodecoder.c
> -@@ -1068,9 +1068,10 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
> -
> -       /* Error out even if EOS was ok when we had input, but no output */
> -       if (ret && priv->had_input_data && !priv->had_output_data) {
> --        GST_ELEMENT_ERROR (decoder, STREAM, DECODE,
> -+        /* GST_ELEMENT_ERROR (decoder, STREAM, DECODE,
> -             ("No valid frames decoded before end of stream"),
> --            ("no valid frames found"));
> -+            ("no valid frames found")); */
> -+        GST_ERROR_OBJECT(decoder, "No valid frames decoded before end of stream");
> -       }
> -
> -       /* Forward EOS immediately. This is required because no
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
> deleted file mode 100644
> index 62a52b0..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
> +++ /dev/null
> @@ -1,57 +0,0 @@
> -From 68fa1b1425ad2c5f7c5013d0943153a8a6d0934e Mon Sep 17 00:00:00 2001
> -From: Jian Li <lj.qfy.sh@gmail.com>
> -Date: Wed, 24 Sep 2014 17:21:02 +0800
> -Subject: [PATCH] taglist not send to down stream if all the frame corrupted
> -
> -https://bugzilla.gnome.org/show_bug.cgi?id=737246
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Jian Li <lj.qfy.sh@gmail.com>
> ----
> - gst-libs/gst/audio/gstaudiodecoder.c |    9 +++++++++
> - gst-libs/gst/video/gstvideodecoder.c |    8 ++++++++
> - 2 files changed, 17 insertions(+)
> -
> -diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c
> -index 3504678..3d69efe 100644
> ---- a/gst-libs/gst/audio/gstaudiodecoder.c
> -+++ b/gst-libs/gst/audio/gstaudiodecoder.c
> -@@ -2083,6 +2083,15 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event)
> -       gst_audio_decoder_drain (dec);
> -       GST_AUDIO_DECODER_STREAM_UNLOCK (dec);
> -
> -+      /* send taglist if no valid frame is decoded util EOS */
> -+      if (dec->priv->taglist && dec->priv->taglist_changed) {
> -+        GST_DEBUG_OBJECT (dec, "codec tag %" GST_PTR_FORMAT, dec->priv->taglist);
> -+        if (!gst_tag_list_is_empty (dec->priv->taglist))
> -+          gst_audio_decoder_push_event (dec,
> -+              gst_event_new_tag (gst_tag_list_ref (dec->priv->taglist)));
> -+        dec->priv->taglist_changed = FALSE;
> -+      }
> -+
> -       /* Forward EOS because no buffer or serialized event will come after
> -        * EOS and nothing could trigger another _finish_frame() call. */
> -       ret = gst_audio_decoder_push_event (dec, event);
> -diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c
> -index dd8abe3..d9bfe4d 100644
> ---- a/gst-libs/gst/video/gstvideodecoder.c
> -+++ b/gst-libs/gst/video/gstvideodecoder.c
> -@@ -1024,6 +1024,14 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
> -        * parent class' ::sink_event() until a later time.
> -        */
> -       forward_immediate = TRUE;
> -+
> -+      /* send taglist if no valid frame is decoded util EOS */
> -+      if (decoder->priv->tags && decoder->priv->tags_changed) {
> -+        gst_video_decoder_push_event (decoder,
> -+            gst_event_new_tag (gst_tag_list_ref (decoder->priv->tags)));
> -+        decoder->priv->tags_changed = FALSE;
> -+      }
> -+
> -       break;
> -     }
> -     case GST_EVENT_GAP:
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
> deleted file mode 100755
> index 8cfda95..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
> +++ /dev/null
> @@ -1,53 +0,0 @@
> -commit 88d253ea23b06289df40401160b606323f16c910
> -Author: Song Bing <b06498@freescale.com>
> -Date:   Mon Dec 15 09:34:35 2014 +0800
> -
> -videopool: update video alignment after video alignment
> -
> -Video buffer pool will update video alignment to respect stride alignment
> -requirement. But haven't update it to video alignment in configure.
> -Which will cause user get wrong video alignment.
> -
> -https://bugzilla.gnome.org/show_bug.cgi?id=741501
> -
> -Upstream-Status: Backport [1.5.1]
> -
> -Signed-off-by: Song Bing <b06498@freescale.com>
> -diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c
> -index 4475f45..acef594 100644
> ---- a/gst-libs/gst/video/gstvideopool.c
> -+++ b/gst-libs/gst/video/gstvideopool.c
> -@@ -167,6 +167,7 @@ video_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
> -     /* get an apply the alignment to the info */
> -     gst_buffer_pool_config_get_video_alignment (config, &priv->video_align);
> -     gst_video_info_align (&info, &priv->video_align);
> -+    gst_buffer_pool_config_set_video_alignment (config, &priv->video_align);
> -   }
> -   priv->info = info;
> -
> -diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c
> -index 6cc2cfa..6a1cbc9 100644
> ---- a/sys/ximage/ximagepool.c
> -+++ b/sys/ximage/ximagepool.c
> -@@ -597,6 +597,8 @@ ximage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
> -     /* do padding and alignment */
> -     gst_video_info_align (&info, &priv->align);
> -
> -+    gst_buffer_pool_config_set_video_alignment (config, &priv->align);
> -+
> -     /* we need the video metadata too now */
> -     priv->add_metavideo = TRUE;
> -   } else {
> -diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c
> -index 244a51a..34b1ab2 100644
> ---- a/sys/xvimage/xvimagepool.c
> -+++ b/sys/xvimage/xvimagepool.c
> -@@ -124,6 +124,8 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
> -     /* do padding and alignment */
> -     gst_video_info_align (&info, &priv->align);
> -
> -+    gst_buffer_pool_config_set_video_alignment (config, &priv->align);
> -+
> -     /* we need the video metadata too now */
> -     priv->add_metavideo = TRUE;
> -   } else {
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
> deleted file mode 100644
> index b476969..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch
> +++ /dev/null
> @@ -1,46 +0,0 @@
> -From c3f7d36b992a3cbcee3386dea85720f3cb04e1ff Mon Sep 17 00:00:00 2001
> -From: Song Bing <b06498@freescale.com>
> -Date: Fri, 27 Mar 2015 13:39:43 +0800
> -Subject: [PATCH] videoencoder: Keep sticky events around when doing a soft
> - reset
> -
> -The current code will first discard all frames, and then tries to copy
> -all sticky events from the (now discarded) frames. Let's change the order.
> -
> -https://bugzilla.gnome.org/show_bug.cgi?id=746865
> -
> -Upstream-Status: Accepted
> -
> ----
> - gst-libs/gst/video/gstvideoencoder.c |    8 ++++----
> - 1 file changed, 4 insertions(+), 4 deletions(-)
> -
> -diff --git a/gst-libs/gst/video/gstvideoencoder.c b/gst-libs/gst/video/gstvideoencoder.c
> -index 614ba2d..4c5b111 100644
> ---- a/gst-libs/gst/video/gstvideoencoder.c
> -+++ b/gst-libs/gst/video/gstvideoencoder.c
> -@@ -340,10 +340,6 @@ gst_video_encoder_reset (GstVideoEncoder * encoder, gboolean hard)
> -
> -   priv->drained = TRUE;
> -
> --  g_list_foreach (priv->frames, (GFunc) gst_video_codec_frame_unref, NULL);
> --  g_list_free (priv->frames);
> --  priv->frames = NULL;
> --
> -   priv->bytes = 0;
> -   priv->time = 0;
> -
> -@@ -392,6 +388,10 @@ gst_video_encoder_reset (GstVideoEncoder * encoder, gboolean hard)
> -         encoder->priv->current_frame_events);
> -   }
> -
> -+  g_list_foreach (priv->frames, (GFunc) gst_video_codec_frame_unref, NULL);
> -+  g_list_free (priv->frames);
> -+  priv->frames = NULL;
> -+
> -   GST_VIDEO_ENCODER_STREAM_UNLOCK (encoder);
> -
> -   return ret;
> ---
> -1.7.9.5
> -
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb
> deleted file mode 100644
> index b09c2cb..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -include gstreamer1.0-plugins-base.inc
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
> -                    file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
> -                    file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
> -                   "
> -
> -SRC_URI += "file://do-not-change-eos-event-to-gap-event-if.patch \
> -            file://get-caps-from-src-pad-when-query-caps.patch \
> -            file://taglist-not-send-to-down-stream-if-all-the-frame-cor.patch \
> -            file://fix-id3demux-utf16-to-utf8-issue.patch \
> -            file://handle-audio-video-decoder-error.patch \
> -            file://videobuffer_updata_alignment_update.patch \
> -            file://0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch \
> -            file://0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch \
> -            file://0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch \
> -            file://videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch \
> -            file://do-not-change-eos-event-to-gap-event2.patch \
> -            file://do-not-change-eos-event-to-gap-event3.patch \
> -            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://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
> -            file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
> -            file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
> -"
> -
> -SRC_URI[md5sum] = "357165af625c0ca353ab47c5d843920e"
> -SRC_URI[sha256sum] = "77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d"
> -
> -S = "${WORKDIR}/gst-plugins-base-${PV}"
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb
> new file mode 100644
> index 0000000..bc780d8
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.6.0.bb
> @@ -0,0 +1,18 @@
> +include gstreamer1.0-plugins-base.inc
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
> +                    file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
> +                    file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
> +                   "
> +
> +SRC_URI += "file://get-caps-from-src-pad-when-query-caps.patch \
> +            file://0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch \
> +            file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
> +            file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \
> +            file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \
> +"
> +
> +SRC_URI[md5sum] = "3c223f1d2716e1861ba84287ea02b164"
> +SRC_URI[sha256sum] = "314fd1b707f65caf8eb6164d9422fc51e2b220a890ccd2de6ec03a2883d77231"
> +
> +S = "${WORKDIR}/gst-plugins-base-${PV}"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/7] gstreamer1.0-plugins-base: upgrade to version 1.6.0
  2015-09-28  1:07   ` Khem Raj
@ 2015-09-28  6:44     ` Carlos Rafael Giani
  2015-09-28  6:47       ` Khem Raj
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-28  6:44 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

Am 2015-09-28 um 03:07 schrieb Khem Raj:
> On Sun, Sep 27, 2015 at 2:48 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org> wrote:
>> A number of patches had to be deleted in order for the recipe to work.
>>
>> Patches which cannot be applied cleanly to 1.6.0 and are nontrivial to fix:
>> * 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
>> * do-not-change-eos-event-to-gap-event2.patch
>> * do-not-change-eos-event-to-gap-event3.patch
>> * do-not-change-eos-event-to-gap-event-if.patch
>> * handle-audio-video-decoder-error.patch
>> * taglist-not-send-to-down-stream-if-all-the-frame-cor.patch
>>
> has these been dropped ? if so then what do we lose.

We lose nothing that hasn't either been included already or needs to be 
reworked anyway.

There are two things I overlooked though:

* The do-not-change-eos-event-to-gap-event* patches aren't needed 
anymore, because the authors have sent in a completely different patch, 
which has been included in upstream.
* The 0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch , 
which hasn't been deleted so far, has been rejected by upstream. I 
noticed there is a "denied" upstream-status available, but I would 
rather delete this patch as well, especially since the discussion in 
upstream indicates that this is more i.MX specific. Opinions?

The other patches in the list above, however, need to be reworked to 
apply against 1.6.
0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch has been 
rejected by upstream,
handle-audio-video-decoder-error.patch is under discussion.
taglist-not-send-to-down-stream-if-all-the-frame-cor.patch hasn't been 
looked at yet by upstream.

Since these no longer apply cleanly against 1.6.0, we anyway have no 
option but to delete them and wait until the authors reworked them.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/7] gstreamer1.0-plugins-base: upgrade to version 1.6.0
  2015-09-28  6:44     ` Carlos Rafael Giani
@ 2015-09-28  6:47       ` Khem Raj
  2015-09-28  6:53         ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Khem Raj @ 2015-09-28  6:47 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: Patches and discussions about the oe-core layer

On Sun, Sep 27, 2015 at 11:44 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> The other patches in the list above, however, need to be reworked to apply
> against 1.6.
> 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch has been
> rejected by upstream,
> handle-audio-video-decoder-error.patch is under discussion.
> taglist-not-send-to-down-stream-if-all-the-frame-cor.patch hasn't been
> looked at yet by upstream.
>
> Since these no longer apply cleanly against 1.6.0, we anyway have no option
> but to delete them and wait until the authors reworked them.

hmmm, I would have preferred a conclusive situation where we know
exactly what they fixed and what we dont have when we drop them
somewhere in commit message, ideally they should be forward ported
along with recipe upgrades but its ok if you dont feel comfortable and
want to defer it to original submitters but then please CC the
submitters so they know whats needed of them


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/7] gstreamer1.0-plugins-base: upgrade to version 1.6.0
  2015-09-28  6:47       ` Khem Raj
@ 2015-09-28  6:53         ` Carlos Rafael Giani
  2015-09-28  7:02           ` Khem Raj
  0 siblings, 1 reply; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-09-28  6:53 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

Am 2015-09-28 um 08:47 schrieb Khem Raj:
> On Sun, Sep 27, 2015 at 11:44 PM, Carlos Rafael Giani
> <dv@pseudoterminal.org> wrote:
>> The other patches in the list above, however, need to be reworked to apply
>> against 1.6.
>> 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch has been
>> rejected by upstream,
>> handle-audio-video-decoder-error.patch is under discussion.
>> taglist-not-send-to-down-stream-if-all-the-frame-cor.patch hasn't been
>> looked at yet by upstream.
>>
>> Since these no longer apply cleanly against 1.6.0, we anyway have no option
>> but to delete them and wait until the authors reworked them.
> hmmm, I would have preferred a conclusive situation where we know
> exactly what they fixed and what we dont have when we drop them
> somewhere in commit message, ideally they should be forward ported
> along with recipe upgrades but its ok if you dont feel comfortable and
> want to defer it to original submitters but then please CC the
> submitters so they know whats needed of them

Yep, I already sent them a mail about the necessary rework a month ago, 
when I was first trying out release candidates for 1.6, but I'll give 
them a status update.

As for the patch that got rejected by upstream (but that I didn't 
delete, because it can still be applied), do I delete this one as well? 
Is there a general preference in such situations? I personally would 
prefer to stick with what upstream does.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/7] gstreamer1.0-plugins-base: upgrade to version 1.6.0
  2015-09-28  6:53         ` Carlos Rafael Giani
@ 2015-09-28  7:02           ` Khem Raj
  0 siblings, 0 replies; 18+ messages in thread
From: Khem Raj @ 2015-09-28  7:02 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: Patches and discussions about the oe-core layer

On Sun, Sep 27, 2015 at 11:53 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> Am 2015-09-28 um 08:47 schrieb Khem Raj:
>>
>> On Sun, Sep 27, 2015 at 11:44 PM, Carlos Rafael Giani
>> <dv@pseudoterminal.org> wrote:
>>>
>>> The other patches in the list above, however, need to be reworked to
>>> apply
>>> against 1.6.
>>> 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch has been
>>> rejected by upstream,
>>> handle-audio-video-decoder-error.patch is under discussion.
>>> taglist-not-send-to-down-stream-if-all-the-frame-cor.patch hasn't been
>>> looked at yet by upstream.
>>>
>>> Since these no longer apply cleanly against 1.6.0, we anyway have no
>>> option
>>> but to delete them and wait until the authors reworked them.
>>
>> hmmm, I would have preferred a conclusive situation where we know
>> exactly what they fixed and what we dont have when we drop them
>> somewhere in commit message, ideally they should be forward ported
>> along with recipe upgrades but its ok if you dont feel comfortable and
>> want to defer it to original submitters but then please CC the
>> submitters so they know whats needed of them
>
>
> Yep, I already sent them a mail about the necessary rework a month ago, when
> I was first trying out release candidates for 1.6, but I'll give them a
> status update.
>
> As for the patch that got rejected by upstream (but that I didn't delete,
> because it can still be applied), do I delete this one as well? Is there a
> general preference in such situations? I personally would prefer to stick
> with what upstream does.

yes, however sometimes it might be OE issue that upstream might not
share in such cases you have to carry rejected patches. Ideally the
problem should be explained better to upstream and amicable patch
found to fix it but that may not happen always


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0
  2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
                   ` (5 preceding siblings ...)
  2015-09-27 21:48 ` [PATCH 7/7] gstreamer1.0-rtsp-server: " Carlos Rafael Giani
@ 2015-09-28  9:17 ` Burton, Ross
  6 siblings, 0 replies; 18+ messages in thread
From: Burton, Ross @ 2015-09-28  9:17 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

On 27 September 2015 at 22:48, Carlos Rafael Giani <dv@pseudoterminal.org>
wrote:

> Removed patches which either were backports or accepted and integrated
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
>

We're feature frozen so I'll add these to my "for after the freeze" folder
but rebasing and resending when 2.0 is released would be appreciated.

Ross

[-- Attachment #2: Type: text/html, Size: 865 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/7] gstreamer1.0-plugins-bad: upgrade to version 1.6.0
  2015-09-27 21:48 ` [PATCH 4/7] gstreamer1.0-plugins-bad: " Carlos Rafael Giani
@ 2015-10-26 17:20   ` Burton, Ross
  2015-10-27 14:10     ` Carlos Rafael Giani
  0 siblings, 1 reply; 18+ messages in thread
From: Burton, Ross @ 2015-10-26 17:20 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

Hi Carlos,

On 27 September 2015 at 22:48, Carlos Rafael Giani <dv@pseudoterminal.org>
wrote:

> 0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
> in upstream, and therefore not needed as a separate patch anymore.
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
>

I started looking for pieces to queue for when master re-opens and
discovered that this doesn't apply anymore, so the branch will need
rebasing.

Cheers,
Ross

[-- Attachment #2: Type: text/html, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 3/7] gstreamer1.0-plugins-good: upgrade to version 1.6.0
  2015-09-27 21:48 ` [PATCH 3/7] gstreamer1.0-plugins-good: " Carlos Rafael Giani
@ 2015-10-26 17:25   ` Burton, Ross
  0 siblings, 0 replies; 18+ messages in thread
From: Burton, Ross @ 2015-10-26 17:25 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

On 27 September 2015 at 22:48, Carlos Rafael Giani <dv@pseudoterminal.org>
wrote:

> -X11ENABLEOPTS = "--enable-x --enable-xshm"
> -X11DISABLEOPTS = "--disable-x --disable-xshm"
> +X11ENABLEOPTS = "--enable-x"
> +X11DISABLEOPTS = "--disable-x"
>  PACKAGECONFIG[x11]        =
> "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
>

As the options are not long anymore, can you change this to just
--enable-x, --disable-x, ${X11DEPENDS} for conciseness.

Ross

[-- Attachment #2: Type: text/html, Size: 939 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/7] gstreamer1.0-plugins-bad: upgrade to version 1.6.0
  2015-10-26 17:20   ` Burton, Ross
@ 2015-10-27 14:10     ` Carlos Rafael Giani
  2015-10-30 18:54       ` Andre McCurdy
  2015-11-02 16:56       ` Saul Wold
  0 siblings, 2 replies; 18+ messages in thread
From: Carlos Rafael Giani @ 2015-10-27 14:10 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

On 10/26/2015 06:20 PM, Burton, Ross wrote:
> Hi Carlos,
>
> On 27 September 2015 at 22:48, Carlos Rafael Giani 
> <dv@pseudoterminal.org <mailto:dv@pseudoterminal.org>> wrote:
>
>     0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
>     in upstream, and therefore not needed as a separate patch anymore.
>
>     Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org
>     <mailto:dv@pseudoterminal.org>>
>
>
> I started looking for pieces to queue for when master re-opens and 
> discovered that this doesn't apply anymore, so the branch will need 
> rebasing.
>
> Cheers,
> Ross

Yes, I know. I am waiting until Jethro is released, then I'll send a v2 
of these patches.

[-- Attachment #2: Type: text/html, Size: 2029 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/7] gstreamer1.0-plugins-bad: upgrade to version 1.6.0
  2015-10-27 14:10     ` Carlos Rafael Giani
@ 2015-10-30 18:54       ` Andre McCurdy
  2015-11-02 16:56       ` Saul Wold
  1 sibling, 0 replies; 18+ messages in thread
From: Andre McCurdy @ 2015-10-30 18:54 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: OE-core

On Tue, Oct 27, 2015 at 7:10 AM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> On 10/26/2015 06:20 PM, Burton, Ross wrote:
>
> Hi Carlos,
>
> On 27 September 2015 at 22:48, Carlos Rafael Giani <dv@pseudoterminal.org>
> wrote:
>>
>> 0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
>> in upstream, and therefore not needed as a separate patch anymore.
>>
>> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
>
>
> I started looking for pieces to queue for when master re-opens and
> discovered that this doesn't apply anymore, so the branch will need
> rebasing.
>
> Cheers,
> Ross
>
>
> Yes, I know. I am waiting until Jethro is released, then I'll send a v2 of
> these patches.

Hi Carlos,

Are these patches available in a public git repo somewhere? I'd like
to start testing now.


> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/7] gstreamer1.0-plugins-bad: upgrade to version 1.6.0
  2015-10-27 14:10     ` Carlos Rafael Giani
  2015-10-30 18:54       ` Andre McCurdy
@ 2015-11-02 16:56       ` Saul Wold
  1 sibling, 0 replies; 18+ messages in thread
From: Saul Wold @ 2015-11-02 16:56 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: OE-core

On Tue, 2015-10-27 at 15:10 +0100, Carlos Rafael Giani wrote:
> On 10/26/2015 06:20 PM, Burton, Ross wrote:
> 
> > Hi Carlos,
> > 
> > On 27 September 2015 at 22:48, Carlos Rafael Giani
> > <dv@pseudoterminal.org> wrote:
> >         0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
> >         in upstream, and therefore not needed as a separate patch
> >         anymore.
> >         
> >         Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> >         
> > 
> > 
> > I started looking for pieces to queue for when master re-opens and
> > discovered that this doesn't apply anymore, so the branch will need
> > rebasing.
> > 
> > 
> > Cheers,
> > Ross
> 
> Yes, I know. I am waiting until Jethro is released, then I'll send a
> v2 of these patches.
Please consider updating to the 1.6.1 release, which was just dropped in
the last couple of weeks?

Thanks
   Sau!

> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-11-02 16:56 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-27 21:48 [PATCH 1/7] gstreamer1.0: upgrade to version 1.6.0 Carlos Rafael Giani
2015-09-27 21:48 ` [PATCH 2/7] gstreamer1.0-plugins-base: " Carlos Rafael Giani
2015-09-28  1:07   ` Khem Raj
2015-09-28  6:44     ` Carlos Rafael Giani
2015-09-28  6:47       ` Khem Raj
2015-09-28  6:53         ` Carlos Rafael Giani
2015-09-28  7:02           ` Khem Raj
2015-09-27 21:48 ` [PATCH 3/7] gstreamer1.0-plugins-good: " Carlos Rafael Giani
2015-10-26 17:25   ` Burton, Ross
2015-09-27 21:48 ` [PATCH 4/7] gstreamer1.0-plugins-bad: " Carlos Rafael Giani
2015-10-26 17:20   ` Burton, Ross
2015-10-27 14:10     ` Carlos Rafael Giani
2015-10-30 18:54       ` Andre McCurdy
2015-11-02 16:56       ` Saul Wold
2015-09-27 21:48 ` [PATCH 5/7] gstreamer1.0-plugins-ugly: " Carlos Rafael Giani
2015-09-27 21:48 ` [PATCH 6/7] gstreamer1.0-libav: " Carlos Rafael Giani
2015-09-27 21:48 ` [PATCH 7/7] gstreamer1.0-rtsp-server: " Carlos Rafael Giani
2015-09-28  9:17 ` [PATCH 1/7] gstreamer1.0: " Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox