mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 01:26:00 +01:00
Unref bus in SongLoader::LoadRemote()
This commit is contained in:
parent
9b9a32b053
commit
c33f2a1d27
@ -480,6 +480,7 @@ SongLoader::Result SongLoader::LoadRemote() {
|
||||
CHECKED_GCONNECT(typefind, "have-type", &TypeFound, this);
|
||||
gst_bus_set_sync_handler(bus, BusCallbackSync, this, nullptr);
|
||||
gst_bus_add_watch(bus, BusCallback, this);
|
||||
gst_object_unref(bus);
|
||||
|
||||
// Add a probe to the sink so we can capture the data if it's a playlist
|
||||
GstPad *pad = gst_element_get_static_pad(fakesink, "sink");
|
||||
|
Loading…
Reference in New Issue
Block a user