mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
update for bus api changes
This commit is contained in:
parent
30d3dfee36
commit
d1b0ff6c06
3 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ process_file (const gchar * file, gboolean push_mode, gint repeat,
|
|||
|
||||
/* kids, don't use a sync handler for this at home, really; we do because
|
||||
* we just want to abort and nothing else */
|
||||
gst_bus_set_sync_handler (bus, error_cb, (gpointer) file);
|
||||
gst_bus_set_sync_handler (bus, error_cb, (gpointer) file, NULL);
|
||||
|
||||
src = gst_element_factory_make ("filesrc", "filesrc");
|
||||
fail_unless (src != NULL, "Failed to create 'filesrc' element!");
|
||||
|
|
|
@ -66,7 +66,7 @@ mux_pcm_audio (guint num_buffers, guint repeat)
|
|||
|
||||
/* kids, don't use a sync handler for this at home, really; we do because
|
||||
* we just want to abort and nothing else */
|
||||
gst_bus_set_sync_handler (GST_ELEMENT_BUS (pipeline), error_cb, NULL);
|
||||
gst_bus_set_sync_handler (GST_ELEMENT_BUS (pipeline), error_cb, NULL, NULL);
|
||||
|
||||
src = gst_element_factory_make ("audiotestsrc", "audiotestsrc");
|
||||
fail_unless (src != NULL, "Failed to create 'audiotestsrc' element!");
|
||||
|
|
|
@ -56,7 +56,7 @@ read_tags_from_file (const gchar * file, gboolean push_mode)
|
|||
|
||||
/* kids, don't use a sync handler for this at home, really; we do because
|
||||
* we just want to abort and nothing else */
|
||||
gst_bus_set_sync_handler (bus, error_cb, (gpointer) file);
|
||||
gst_bus_set_sync_handler (bus, error_cb, (gpointer) file, NULL);
|
||||
|
||||
src = gst_element_factory_make ("filesrc", "filesrc");
|
||||
fail_unless (src != NULL, "Failed to create 'filesrc' element!");
|
||||
|
|
Loading…
Reference in a new issue