mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
gst/gstpad.c: comparing a flag and a gboolean rarely returns coherent results...
Original commit message from CVS: * gst/gstpad.c: (gst_pad_set_blocked_async): comparing a flag and a gboolean rarely returns coherent results... Added two characters (!!) to make that work correctly.
This commit is contained in:
parent
5c2af06cc5
commit
7c1da7fee0
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-03 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.c: (gst_pad_set_blocked_async):
|
||||
comparing a flag and a gboolean rarely returns coherent results...
|
||||
Added two characters (!!) to make that work correctly.
|
||||
|
||||
2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstbus.c: (gst_bus_class_init):
|
||||
|
|
|
@ -854,7 +854,7 @@ gst_pad_set_blocked_async (GstPad * pad, gboolean blocked,
|
|||
|
||||
GST_LOCK (pad);
|
||||
|
||||
was_blocked = GST_PAD_IS_BLOCKED (pad);
|
||||
was_blocked = !!GST_PAD_IS_BLOCKED (pad);
|
||||
|
||||
if (G_UNLIKELY (was_blocked == blocked))
|
||||
goto had_right_state;
|
||||
|
|
Loading…
Reference in a new issue