gst-discoverer: The 'ready' signal was renamed to 'finished'

This commit is contained in:
Arun Raghavan 2010-10-04 15:48:51 +05:30 committed by Edward Hervey
parent 88cf7a2156
commit f55529e8d0

View file

@ -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 */