mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
bus: Do not override source->prepare
Since GLib 2.36 we do not need it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/718>
This commit is contained in:
parent
8a45c8d1df
commit
5db76b4d41
1 changed files with 1 additions and 8 deletions
|
@ -804,13 +804,6 @@ typedef struct
|
|||
GstBus *bus;
|
||||
} GstBusSource;
|
||||
|
||||
static gboolean
|
||||
gst_bus_source_prepare (GSource * source, gint * timeout)
|
||||
{
|
||||
*timeout = -1;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gst_bus_source_check (GSource * source)
|
||||
{
|
||||
|
@ -902,7 +895,7 @@ gst_bus_source_finalize (GSource * source)
|
|||
}
|
||||
|
||||
static GSourceFuncs gst_bus_source_funcs = {
|
||||
gst_bus_source_prepare,
|
||||
NULL,
|
||||
gst_bus_source_check,
|
||||
gst_bus_source_dispatch,
|
||||
gst_bus_source_finalize
|
||||
|
|
Loading…
Reference in a new issue