Don't compare booleans for equality to TRUE and FALSE
authorSebastian Dröge <sebastian@centricular.com>
Fri, 28 Nov 2014 13:17:54 +0000 (14:17 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 1 Dec 2014 08:51:37 +0000 (09:51 +0100)
commit154eefecc93b69c6af8040ceef5f004e595a827f
treefdda1093ac700aa2ac17268ba37c69aa8ac2b209
parentf2e4c255880b199bd3b3b41286a41f6c14a02f51
Don't compare booleans for equality to TRUE and FALSE

TRUE is 1, but every other non-zero value is also considered true. Comparing
for equality with TRUE would only consider 1 but not the others.

Also normalize booleans in a few places.
20 files changed:
docs/manual/advanced-buffering.xml
gst/gstbin.c
gst/gstbus.c
gst/gstcontrolbinding.c
gst/gstdevicemonitor.c
gst/gstghostpad.c
gst/gstinfo.c
gst/gstplugin.c
gst/gststructure.c
gst/gstsystemclock.c
libs/gst/base/gstbasesink.c
libs/gst/base/gstbasetransform.c
libs/gst/base/gstcollectpads.c
libs/gst/check/gstcheck.c
libs/gst/check/gstcheck.h
libs/gst/check/gsttestclock.c
plugins/elements/gstfunnel.c
plugins/elements/gstidentity.c
plugins/elements/gstinputselector.c
tools/gst-launch.c