Don't compare booleans for equality to TRUE and FALSE
authorSebastian Dröge <sebastian@centricular.com>
Fri, 28 Nov 2014 13:28:06 +0000 (14:28 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 1 Dec 2014 08:51:12 +0000 (09:51 +0100)
commit90eb93c2eff102e877bc3fd57c36c39490995da1
tree07e7ed824c0764572c95de46abd3289ba83a3303
parent72c05d1cbb94f06e0340cf5578d6582322344f77
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.
21 files changed:
ext/alsa/gstalsasrc.c
ext/ogg/gstoggmux.c
ext/vorbis/gstvorbisdec.c
gst-libs/gst/audio/gstaudioringbuffer.c
gst-libs/gst/rtsp/gstrtspconnection.c
gst-libs/gst/tag/gsttagdemux.c
gst-libs/gst/tag/id3v2frames.c
gst-libs/gst/video/navigation.c
gst-libs/gst/video/video-converter.c
gst/adder/gstadder.c
gst/encoding/gstencodebin.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysink.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
gst/subparse/gstsubparse.c
gst/tcp/gstmultihandlesink.c
gst/tcp/gstmultioutputsink.c
tests/examples/playback/playback-test.c
tests/examples/seek/jsseek.c
tools/gst-discoverer.c