paramspec: Move condition check inside the g_return
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 10 Nov 2017 17:07:28 +0000 (12:07 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 10 Nov 2017 17:09:41 +0000 (12:09 -0500)
commit7595c38a738abf830d3cccf5b31a38fc9ca6f6a6
tree929a556a8da26d8e0d1b8c921190b6f09e87f91c
parent98f4ff83313f0f7202a0a753560562446a420cd6
paramspec: Move condition check inside the g_return

It's mostly a debug check and crash avoidance, it's better to
keep all the condition inside the macro.
gst/gstparamspecs.c