summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/avdec_adpcm.c2
-rw-r--r--tests/check/elements/avdemux_ape.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/avdec_adpcm.c b/tests/check/elements/avdec_adpcm.c
index daad580..295e753 100644
--- a/tests/check/elements/avdec_adpcm.c
+++ b/tests/check/elements/avdec_adpcm.c
@@ -82,7 +82,7 @@ decode_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);
gst_bin_add_many (GST_BIN (pipeline), src, queue, dec, sink, NULL);
gst_element_link_many (src, queue, dec, NULL);
diff --git a/tests/check/elements/avdemux_ape.c b/tests/check/elements/avdemux_ape.c
index 74151b7..c758b98 100644
--- a/tests/check/elements/avdemux_ape.c
+++ b/tests/check/elements/avdemux_ape.c
@@ -97,7 +97,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);
gst_bin_add_many (GST_BIN (pipeline), src, dec, sink, NULL);
gst_element_link_many (src, dec, NULL);