mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
discoverer: minor docs fix
Can use a custom main context as well if needed.
This commit is contained in:
parent
87829debe4
commit
26a57f9a89
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue