From: Fabio Berton Date: Thu, 14 Jun 2018 18:12:59 +0000 (-0300) Subject: gstreamer1.0-plugins-good: Update patch to build with gstreamer 1.14.1 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=68699c4a196ca4f32d928da221d13c00cca61457;p=meta-freescale.git gstreamer1.0-plugins-good: Update patch to build with gstreamer 1.14.1 Change-Id: I0b61d87b441c454866392bdf7952f74b7472416c Signed-off-by: Fabio Berton --- diff --git a/dynamic-layers/gstreamer1.0/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2videodec-Hack-to-make-sure-DMABUF-is-the-default.patch b/dynamic-layers/gstreamer1.0/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2videodec-Hack-to-make-sure-DMABUF-is-the-default.patch index f8a5e300..0876246f 100644 --- a/dynamic-layers/gstreamer1.0/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2videodec-Hack-to-make-sure-DMABUF-is-the-default.patch +++ b/dynamic-layers/gstreamer1.0/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2videodec-Hack-to-make-sure-DMABUF-is-the-default.patch @@ -12,18 +12,19 @@ Upstream is already working on a better solution that sets dmabuf as default: https://bugzilla.gnome.org/show_bug.cgi?id=779466 Upstream-Status: Inapproproate [i.MX/CODA specific hack] +Signed-off-by: Fabio Berton --- - sys/v4l2/gstv4l2videodec.c | 9 +++++++++ - 1 file changed, 9 insertions(+) + sys/v4l2/gstv4l2videodec.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c -index 2c07c30..4c7b1e6 100644 +index 09369ccc6..f036f6c93 100644 --- a/sys/v4l2/gstv4l2videodec.c +++ b/sys/v4l2/gstv4l2videodec.c -@@ -898,6 +898,15 @@ gst_v4l2_video_dec_subinstance_init (GTypeInstance * instance, gpointer g_class) +@@ -956,6 +956,16 @@ gst_v4l2_video_dec_subinstance_init (GTypeInstance * instance, gpointer g_class) + GST_OBJECT (GST_VIDEO_DECODER_SRC_PAD (self)), + V4L2_BUF_TYPE_VIDEO_CAPTURE, klass->default_device, gst_v4l2_get_input, gst_v4l2_set_input, NULL); - self->v4l2capture->no_initial_format = TRUE; - self->v4l2output->keep_aspect = FALSE; + + /* XXX Hack to make sure dmabuf is used as default for capture io mode */ + { @@ -33,9 +34,10 @@ index 2c07c30..4c7b1e6 100644 + gst_v4l2_object_set_property_helper (self->v4l2capture, + PROP_CAPTURE_IO_MODE, &val, NULL); + } ++ } static void -- -2.7.4 +2.17.1