mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gst-discoverer: The 'ready' signal was renamed to 'finished'
This commit is contained in:
parent
88cf7a2156
commit
f55529e8d0
1 changed files with 2 additions and 2 deletions
|
@ -378,7 +378,7 @@ _run_async (PrivStruct * ps)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_discoverer_ready (GstDiscoverer * dc, GMainLoop * ml)
|
_discoverer_finished (GstDiscoverer * dc, GMainLoop * ml)
|
||||||
{
|
{
|
||||||
g_main_loop_quit (ml);
|
g_main_loop_quit (ml);
|
||||||
}
|
}
|
||||||
|
@ -448,7 +448,7 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
/* connect signals */
|
/* connect signals */
|
||||||
g_signal_connect (dc, "discovered", G_CALLBACK (_new_discovered_uri), NULL);
|
g_signal_connect (dc, "discovered", G_CALLBACK (_new_discovered_uri), NULL);
|
||||||
g_signal_connect (dc, "ready", G_CALLBACK (_discoverer_ready), ml);
|
g_signal_connect (dc, "finished", G_CALLBACK (_discoverer_finished), ml);
|
||||||
|
|
||||||
gst_discoverer_start (dc);
|
gst_discoverer_start (dc);
|
||||||
/* run mainloop */
|
/* run mainloop */
|
||||||
|
|
Loading…
Reference in a new issue