diff options
author | Felipe Contreras <felipe.contreras@nokia.com> | 2010-06-07 21:56:35 +0300 |
---|---|---|
committer | Felipe Contreras <felipe.contreras@nokia.com> | 2010-10-01 03:46:37 +0300 |
commit | 673fb214c759e27e2d63c11d0478d2f1f244b808 (patch) | |
tree | 0c1e6afc7b5da5bbd9af450be207072e2d233683 /omx | |
parent | 29c93cb9bee84119b1db91429bbe20af962cea0d (diff) |
Fix compilation warnings
Awful c89.
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
Diffstat (limited to 'omx')
-rw-r--r-- | omx/gstomx.c | 6 | ||||
-rw-r--r-- | omx/gstomx_base_filter.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c index 575227a..6c6a659 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -63,7 +63,7 @@ GST_DEBUG_CATEGORY (gstomx_debug); -const static GstStructure *element_table; +static const GstStructure *element_table; static GQuark element_name_quark; extern const gchar *default_config; @@ -207,7 +207,7 @@ static GType create_subtype (GType parent_type, const gchar *type_name) { GTypeQuery q; - GTypeInfo i = {0}; + GTypeInfo i = {0,0,0,0,0,0,0,0,0,0}; if (!type_name) return 0; @@ -223,7 +223,7 @@ create_subtype (GType parent_type, const gchar *type_name) static gboolean plugin_init (GstPlugin *plugin) { - gint i, cnt; + guint i, cnt; GST_DEBUG_CATEGORY_INIT (gstomx_debug, "omx", 0, "gst-openmax"); GST_DEBUG_CATEGORY_INIT (gstomx_util_debug, "omx_util", 0, "gst-openmax utility"); diff --git a/omx/gstomx_base_filter.c b/omx/gstomx_base_filter.c index 4581f16..fe8b8fe 100644 --- a/omx/gstomx_base_filter.c +++ b/omx/gstomx_base_filter.c @@ -419,7 +419,7 @@ output_loop (gpointer data) { GstCaps *caps = NULL; GstStructure *structure; - GValue value = { 0 }; + GValue value = {0, {{0}}}; caps = gst_pad_get_negotiated_caps (self->srcpad); caps = gst_caps_make_writable (caps); |