Skip to content

gstutils: Add category and object to most logging messages

Juan Navarro requested to merge j1elo/gstreamer:gstutils-debug-cat into main

Found out that gst_pad_query_accept_caps() and gst_pad_peer_query_accept_caps() where missing the same category (GST_CAPS) that gst_pad_query_caps() and gst_pad_peer_query_caps() already had.

Upon further review, some other inconsistencies where found in the file, and other points of logging were also improved by adding proper categorization and target objects.

Only notable mention is the changed message in gst_element_get_compatible_pad(), which goes from

finding pad in <object_name> compatible with <pad_name>

to

finding pad compatible with <pad_name>

because the object is now passed as argument to the GST_CAT_DEBUG_OBJECT() macro.

Merge request reports