Commit 5db76b4d authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by GStreamer Merge Bot

bus: Do not override source->prepare

Since GLib 2.36 we do not need it.

Part-of: <!718>
parent 8a45c8d1
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment