mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-01 11:56:45 +01:00
Remove incorrect gst_message_unref. It should only be called from *sync* handlers that are returning GST_BUS_DROP.
This commit is contained in:
parent
abdc2eee2e
commit
a8f7df9e28
@ -222,7 +222,6 @@ gboolean SongLoader::BusCallback(GstBus*, GstMessage* msg, gpointer self) {
|
||||
break;
|
||||
}
|
||||
|
||||
gst_message_unref(msg);
|
||||
return GST_BUS_DROP;
|
||||
}
|
||||
|
||||
|
@ -195,7 +195,6 @@ gboolean GstEnginePipeline::BusCallback(GstBus*, GstMessage* msg, gpointer self)
|
||||
break;
|
||||
}
|
||||
|
||||
gst_message_unref(msg);
|
||||
return GST_BUS_DROP;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user