]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-good: Update patch to build with gstreamer 1.14.1 85/20185/1
authorFabio Berton <fabio.berton@ossystems.com.br>
Thu, 14 Jun 2018 18:12:59 +0000 (15:12 -0300)
committerFabio Berton <fabio.berton@ossystems.com.br>
Thu, 14 Jun 2018 18:12:59 +0000 (15:12 -0300)
Change-Id: I0b61d87b441c454866392bdf7952f74b7472416c
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
dynamic-layers/gstreamer1.0/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2videodec-Hack-to-make-sure-DMABUF-is-the-default.patch

index f8a5e3007fffa7203cda0dcb9f28c21b3a47aff4..0876246fbe6d35f1f905d4c4da1ba22d0259df4c 100644 (file)
@@ -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 <fabio.berton@ossystems.com.br>
 ---
- sys/v4l2/gstv4l2videodec.c | +++++++++
- 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