diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2018-03-08 12:09:38 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2018-04-25 09:15:38 +0200 |
commit | d40c6c0449f447a85c9b049aa96306e32f9b8ce9 (patch) | |
tree | 3d950ea3425ee79ed00139df454256c7a3dabdd8 /omx | |
parent | 72cb1943da2d28b8ec87d75d0821f6e480d2ef4d (diff) | |
download | gst-omx-d40c6c0449f447a85c9b049aa96306e32f9b8ce9.tar.gz |
omxvideo: display port number when listing supported formats
More convenient when debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=794175
Diffstat (limited to 'omx')
-rw-r--r-- | omx/gstomxvideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/omx/gstomxvideo.c b/omx/gstomxvideo.c index 151b3b4..44d919a 100644 --- a/omx/gstomxvideo.c +++ b/omx/gstomxvideo.c @@ -141,13 +141,13 @@ gst_omx_video_get_supported_colorformats (GstOMXPort * port, m->type = param.eColorFormat; negotiation_map = g_list_append (negotiation_map, m); GST_DEBUG_OBJECT (comp->parent, - "Component supports %s (%d) at index %u", + "Component port %d supports %s (%d) at index %u", port->index, gst_video_format_to_string (f), param.eColorFormat, (guint) param.nIndex); } else { GST_DEBUG_OBJECT (comp->parent, - "Component supports unsupported color format %d at index %u", - param.eColorFormat, (guint) param.nIndex); + "Component port %d supports unsupported color format %d at index %u", + port->index, param.eColorFormat, (guint) param.nIndex); } } old_index = param.nIndex++; |