omx: Improve debug output a bit

This commit is contained in:
Sebastian Dröge 2011-07-19 12:29:51 +02:00
parent b6558570bf
commit 71d176f71a
2 changed files with 3 additions and 1 deletions

View file

@ -251,7 +251,7 @@ EventHandler (OMX_HANDLETYPE hComponent, OMX_PTR pAppData, OMX_EVENTTYPE eEvent,
GST_OMX_HACK_EVENT_PORT_SETTINGS_CHANGED_PORT_0_TO_1))
port_index = 1;
GST_DEBUG_OBJECT (comp->parent, "Settings changed (port_index: %d)",
GST_DEBUG_OBJECT (comp->parent, "Settings changed (port index: %d)",
port_index);
/* Now update the ports' states */

View file

@ -797,6 +797,8 @@ gst_omx_video_dec_set_format (GstBaseVideoDecoder * decoder,
self = GST_OMX_VIDEO_DEC (decoder);
klass = GST_OMX_VIDEO_DEC_GET_CLASS (decoder);
GST_DEBUG_OBJECT (self, "Setting new caps %" GST_PTR_FORMAT, state->caps);
gst_omx_port_get_port_definition (self->in_port, &port_def);
/* Check if the caps change is a real format change or if only irrelevant