GNOME Bugzilla – Bug 776899
v4l2: Remove usage and definition of LOG_CAPS macro
Last modified: 2017-01-16 15:34:20 UTC
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.
Created attachment 342953 [details] [review] v4l2: Remove usage and definition of LOG_CAPS macro
Created attachment 342956 [details] [review] v4l2: Remove usage and definition of LOG_CAPS macro I messed up the bugzilla link in the commit message and had to fix the link.
Review of attachment 342956 [details] [review]: I agree.
Attachment 342956 [details] pushed as eb25b05 - v4l2: Remove usage and definition of LOG_CAPS macro