Skip to content

Commit

Permalink
bus: Do not override source->prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
thiblahute authored and GStreamer Merge Bot committed Dec 11, 2020
1 parent 8a45c8d commit 5db76b4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions gst/gstbus.c
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5db76b4

Please sign in to comment.