mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
bus: Clean up #ifdefs to compile with debugging enabled in all combinations
Thanks to Roland Jon for finding this.
This commit is contained in:
parent
a90220cce1
commit
020eb2c346
1 changed files with 0 additions and 2 deletions
|
@ -876,11 +876,9 @@ gst_bus_source_finalize (GSource * source)
|
||||||
GstBusSource *bsource = (GstBusSource *) source;
|
GstBusSource *bsource = (GstBusSource *) source;
|
||||||
#if !GLIB_CHECK_VERSION(2,63,3)
|
#if !GLIB_CHECK_VERSION(2,63,3)
|
||||||
GstBus *bus = bsource->bus;
|
GstBus *bus = bsource->bus;
|
||||||
#endif
|
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (bus, "finalize source %p", source);
|
GST_DEBUG_OBJECT (bus, "finalize source %p", source);
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION(2,63,3)
|
|
||||||
GST_OBJECT_LOCK (bus);
|
GST_OBJECT_LOCK (bus);
|
||||||
if (bus->priv->signal_watch == source)
|
if (bus->priv->signal_watch == source)
|
||||||
bus->priv->signal_watch = NULL;
|
bus->priv->signal_watch = NULL;
|
||||||
|
|
Loading…
Reference in a new issue