GValue * value, GParamSpec * pspec);
static gboolean _setup_locked (GstDiscoverer * dc);
static void handle_current_async (GstDiscoverer * dc);
-static gboolean emit_discovererd_and_next (GstDiscoverer * dc);
+static gboolean emit_discovered_and_next (GstDiscoverer * dc);
static GVariant *gst_discoverer_info_to_variant_recurse (GstDiscovererStreamInfo
* sinfo, GstDiscovererSerializeFlags flags);
static GstDiscovererStreamInfo *_parse_discovery (GVariant * variant,
handle_current_async (dc);
} else {
g_idle_add_full (G_PRIORITY_DEFAULT_IDLE,
- (GSourceFunc) emit_discovererd_and_next, gst_object_ref (dc),
+ (GSourceFunc) emit_discovered_and_next, gst_object_ref (dc),
gst_object_unref);
}
} else {
}
static void
-emit_discovererd (GstDiscoverer * dc)
+emit_discovered (GstDiscoverer * dc)
{
GstDiscovererInfo *info = _ensure_info_tags (dc);
- GST_DEBUG_OBJECT (dc, "Emitting 'discoverered' %s", info->uri);
+ GST_DEBUG_OBJECT (dc, "Emitting 'discovered' %s", info->uri);
g_signal_emit (dc, gst_discoverer_signals[SIGNAL_DISCOVERED], 0,
info, dc->priv->current_error);
/* Clients get a copy of current_info since it is a boxed type */
}
static gboolean
-emit_discovererd_and_next (GstDiscoverer * dc)
+emit_discovered_and_next (GstDiscoverer * dc)
{
- emit_discovererd (dc);
+ emit_discovered (dc);
DISCO_LOCK (dc);
setup_next_uri_locked (dc);
}
if (dc->priv->async)
- emit_discovererd (dc);
+ emit_discovered (dc);
}
static void
source = g_idle_source_new ();
g_source_set_callback (source,
- (GSourceFunc) emit_discovererd_and_next, gst_object_ref (dc),
+ (GSourceFunc) emit_discovered_and_next, gst_object_ref (dc),
gst_object_unref);
g_source_attach (source, dc->priv->ctx);
goto beach;