From 770fb50f0ac05731dd1389bfceb171253425855d Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 1 Sep 2016 18:16:16 +0200 Subject: Changes to meta-renesas for building with YP 2.1.1 'krogoth' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notable changes: - We drop old appends (libgcc_4.8.bbappend, qemu_%.bbappends, gtk+_2.24.%.bbappend) - All gstreamer1.0_1.2.3 related recipes are now in meta-reneas and have been heavily massaged to work with YP 2.1.1 . - systemd needs a patch due to the old kernel - linux-libc-headers needed a patch TODO: - Test and fix Signed-off-by: Jan-Simon Möller --- ...-don-t-disable-output-port-but-allocate-o.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 common/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omxvideodec-don-t-disable-output-port-but-allocate-o.patch (limited to 'common/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omxvideodec-don-t-disable-output-port-but-allocate-o.patch') diff --git a/common/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omxvideodec-don-t-disable-output-port-but-allocate-o.patch b/common/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omxvideodec-don-t-disable-output-port-but-allocate-o.patch new file mode 100644 index 0000000..b24dbeb --- /dev/null +++ b/common/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omxvideodec-don-t-disable-output-port-but-allocate-o.patch @@ -0,0 +1,36 @@ +From ca11a82ecfed260dfde19dfec5d9f27e0c5b4be5 Mon Sep 17 00:00:00 2001 +From: Kazunori Kobayashi +Date: Wed, 5 Jun 2013 16:54:33 +0900 +Subject: [PATCH 01/14] omxvideodec: don't disable output port but allocate + output buffers when changing to idle + +According to the OpenMax specification, buffers for the component to +use for all of the ports must be required to be allocated when +changing to idle state. The input/output ports can't be disabled +at this time. +--- + omx/gstomxvideodec.c | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c +index 976f58e..7f6a48e 100644 +--- a/omx/gstomxvideodec.c ++++ b/omx/gstomxvideodec.c +@@ -2097,13 +2097,7 @@ gst_omx_video_dec_set_format (GstVideoDecoder * decoder, + /* Need to allocate buffers to reach Idle state */ + if (gst_omx_port_allocate_buffers (self->dec_in_port) != OMX_ErrorNone) + return FALSE; +- +- /* And disable output port */ +- if (gst_omx_port_set_enabled (self->dec_out_port, FALSE) != OMX_ErrorNone) +- return FALSE; +- +- if (gst_omx_port_wait_enabled (self->dec_out_port, +- 1 * GST_SECOND) != OMX_ErrorNone) ++ if (gst_omx_port_allocate_buffers (self->dec_out_port) != OMX_ErrorNone) + return FALSE; + + if (gst_omx_component_get_state (self->dec, +-- +1.8.1.2 + -- cgit 1.2.3-korg