v4l2: Remove usage and definition of LOG_CAPS macro
authorEnrico Jorns <ejo@pengutronix.de>
Wed, 28 Jan 2015 07:58:26 +0000 (08:58 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 16 Jan 2017 15:29:47 +0000 (10:29 -0500)
commiteb25b058f994f4d71131f478f8859cd40ebd2bc1
treeeb445c8a8b91b921af599e467baa63a1a9400dcb
parent1c2e2d83ce6e488b8387cf90902d7ccfbf41a46e
v4l2: Remove usage and definition of LOG_CAPS macro

Unlike former definitions of LOG_CAPS, the current implementation simply
expands to GST_DEBUG_OBJECT. The LOG_CAPS macro is rarely used and most
uses duplicate already existing GST_DEBUG_OBJECT lines. Therefore, the
caps are often printed twice which unnecessarily clutters the debug log.

Replace LOG_CAPS calls with GST_DEBUG_OBJECT, remove LOG_CAPS calls, and
delete the definition of LOG_CAPS.

https://bugzilla.gnome.org/show_bug.cgi?id=776899
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2src.c
sys/v4l2/v4l2_calls.h