bus: Don't allow removing signal watches with gst_bus_remove_watch()
authorSebastian Dröge <sebastian@centricular.com>
Fri, 15 Feb 2019 11:20:27 +0000 (13:20 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 15 Feb 2019 11:21:35 +0000 (13:21 +0200)
commit8de3344ecc50b5ffb88ba2a491ce4c7ab4a13e40
treeb834ce8704e962afac9847159f9f9f325eaba3ad
parent227633662178cfd3ea858cfb7a958933bb80f57d
bus: Don't allow removing signal watches with gst_bus_remove_watch()

Signal watches are reference counted and gst_bus_remove_watch() would
immediately remove it, breaking the reference counting. Only
gst_bus_remove_signal_watch() should be used for removing signal
watches.
gst/gstbus.c