discoverer: minor docs fix
authorTim-Philipp Müller <tim@centricular.com>
Sat, 18 Jan 2014 00:18:51 +0000 (00:18 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 18 Jan 2014 15:01:58 +0000 (15:01 +0000)
Can use a custom main context as well if needed.

gst-libs/gst/pbutils/gstdiscoverer.c

index 0c5685de2063393637812549b14f05d26336bdb8..ab5683dda06a805a7df8531ae271654bb0304624 100644 (file)
  * 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.
  */