generic-poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx/0001-omx-fixed-type-error-in-printf-call.patch
Carlos Rafael Giani c7ebd7e527 gstreamer: added GStreamer 1.0 recipes
Originally from the https://github.com/dv1/meta-gstreamer1.0 repository,
the patches were copied with only one change:
gstreamer1.0-plugins-package.inc was removed, since gst-plugins-package.inc
is identical except for the LIBV variable.

(From OE-Core rev: e200e61529fa5a78354cde67442e90ace4b3857c)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 15:37:59 +01:00

31 lines
972 B
Diff

From f629e041e9f678fcd86ad764a15117dff63c271c Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <dv@pseudoterminal.org>
Date: Sat, 27 Apr 2013 02:50:25 +0200
Subject: [PATCH] omx: fixed type error in printf call
%zu expects size_t
Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=699008]
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
omx/gstomx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/omx/gstomx.c b/omx/gstomx.c
index a2945ed..1eca7cc 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -1630,7 +1630,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
GST_INFO_OBJECT (comp->parent,
"Allocating %d buffers of size %zu for %s port %u", n,
- port->port_def.nBufferSize, comp->name, (guint) port->index);
+ (size_t) (port->port_def.nBufferSize), comp->name, (guint) port->index);
if (!port->buffers)
port->buffers = g_ptr_array_sized_new (n);
--
1.7.9.5