Commit ec834321 authored by Aleksandr Slobodeniuk's avatar Aleksandr Slobodeniuk Committed by GStreamer Marge Bot

gstvalue: fix compilation warning in "holds" macros

GST_VALUE_HOLDS_... macros may cause -Waddress warning
on gcc if GValue is allocated on stack:

gstvalue.h:145:46: warning: the comparison will always
evaluate as ‘true’ for the address of ‘v’ will never
be NULL [-Waddress]

 #define GST_VALUE_HOLDS_CAPS(x)         ((x) != NULL &&
  G_VALUE_TYPE(x) == _gst_caps_type)

Fixes #653

Part-of: <!738>
parent 9d2825cc
Pipeline #263132 passed with stages
in 29 minutes and 49 seconds