From 26a57f9a89a2fc8b0607ee7115ab95f64d96cc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 18 Jan 2014 00:18:51 +0000 Subject: [PATCH] discoverer: minor docs fix Can use a custom main context as well if needed. --- gst-libs/gst/pbutils/gstdiscoverer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index 0c5685de20..ab5683dda0 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -30,10 +30,12 @@ * The blocking mode just requires calling gst_discoverer_discover_uri() * with the URI one wishes to discover. * - * The non-blocking mode requires a running #GMainLoop in the default + * The non-blocking mode requires a running #GMainLoop iterating a * #GMainContext, where one connects to the various signals, appends the * URIs to be processed (through gst_discoverer_discover_uri_async()) and then * asks for the discovery to begin (through gst_discoverer_start()). + * By default this will use the GLib default main context unless you have + * set a custom context using g_main_context_push_thread_default(). * * All the information is returned in a #GstDiscovererInfo structure. */