summaryrefslogtreecommitdiff
path: root/omx/gstomx.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomx.c')
-rw-r--r--omx/gstomx.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index faf307d..7674829 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -289,7 +289,7 @@ gst_omx_component_handle_messages (GstOMXComponent * comp)
OMX_U32 index = msg->content.port_settings_changed.port;
GList *outports = NULL, *l, *k;
- GST_DEBUG_OBJECT (comp->parent, "%s settings changed (port %u)",
+ GST_DEBUG_OBJECT (comp->parent, "%s settings changed (port %lu)",
comp->name, index);
/* FIXME: This probably can be done better */
@@ -335,7 +335,7 @@ gst_omx_component_handle_messages (GstOMXComponent * comp)
if (!port)
break;
- GST_DEBUG_OBJECT (comp->parent, "%s port %u got buffer flags 0x%08x",
+ GST_DEBUG_OBJECT (comp->parent, "%s port %u got buffer flags 0x%08lx",
comp->name, port->index, flags);
if ((flags & OMX_BUFFERFLAG_EOS)
&& port->port_def.eDir == OMX_DirOutput)
@@ -440,7 +440,7 @@ EventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent,
msg->type = GST_OMX_MESSAGE_FLUSH;
msg->content.flush.port = nData2;
- GST_DEBUG_OBJECT (comp->parent, "%s port %u flushed", comp->name,
+ GST_DEBUG_OBJECT (comp->parent, "%s port %lu flushed", comp->name,
msg->content.flush.port);
gst_omx_component_send_message (comp, msg);
@@ -453,7 +453,7 @@ EventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent,
msg->type = GST_OMX_MESSAGE_PORT_ENABLE;
msg->content.port_enable.port = nData2;
msg->content.port_enable.enable = (cmd == OMX_CommandPortEnable);
- GST_DEBUG_OBJECT (comp->parent, "%s port %u %s", comp->name,
+ GST_DEBUG_OBJECT (comp->parent, "%s port %lu %s", comp->name,
msg->content.port_enable.port,
(msg->content.port_enable.enable ? "enabled" : "disabled"));
@@ -505,7 +505,7 @@ EventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent,
msg->type = GST_OMX_MESSAGE_PORT_SETTINGS_CHANGED;
msg->content.port_settings_changed.port = index;
- GST_DEBUG_OBJECT (comp->parent, "%s settings changed (port index: %d)",
+ GST_DEBUG_OBJECT (comp->parent, "%s settings changed (port index: %lu)",
comp->name, msg->content.port_settings_changed.port);
gst_omx_component_send_message (comp, msg);
@@ -519,7 +519,7 @@ EventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent,
msg->type = GST_OMX_MESSAGE_BUFFER_FLAG;
msg->content.buffer_flag.port = nData1;
msg->content.buffer_flag.flags = nData2;
- GST_DEBUG_OBJECT (comp->parent, "%s port %u got buffer flags 0x%08x",
+ GST_DEBUG_OBJECT (comp->parent, "%s port %lu got buffer flags 0x%08lx",
comp->name, msg->content.buffer_flag.port,
msg->content.buffer_flag.flags);
@@ -1629,7 +1629,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
OMX_ErrorBadParameter);
GST_INFO_OBJECT (comp->parent,
- "Allocating %d buffers of size %u for %s port %u", n,
+ "Allocating %d buffers of size %lu for %s port %u", n,
port->port_def.nBufferSize, comp->name, port->index);
if (!port->buffers)