Commit d1b0ff6c authored by Wim Taymans's avatar Wim Taymans
Browse files

update for bus api changes

parent 30d3dfee
......@@ -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!");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment