diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2012-07-29 17:08:57 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-07-31 16:17:16 +0200 |
commit | 37a223f60b1002bd84fa0d9f6fbbea655db68e39 (patch) | |
tree | d3f2b52ff68beab7878e4acc0493d77de2a3bf49 /tests | |
parent | 1320a919f835570461948744e52cdb5bb7adbeb2 (diff) | |
download | farstream-37a223f60b1002bd84fa0d9f6fbbea655db68e39.tar.gz |
tests: Update for changes to the gst_bus_set_sync_handler api
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/raw/conference.c | 6 | ||||
-rw-r--r-- | tests/check/rtp/codecs.c | 8 | ||||
-rw-r--r-- | tests/check/rtp/generic.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/check/raw/conference.c b/tests/check/raw/conference.c index 9ed91312..5cb70347 100644 --- a/tests/check/raw/conference.c +++ b/tests/check/raw/conference.c @@ -130,7 +130,7 @@ setup_simple_conference_full ( bus = gst_pipeline_get_bus (GST_PIPELINE (dat->pipeline)); fail_if (bus == NULL); - gst_bus_set_sync_handler (bus, default_sync_handler, dat); + gst_bus_set_sync_handler (bus, default_sync_handler, dat, NULL); gst_object_unref (bus); dat->conference = gst_element_factory_make (conference_elem, NULL); @@ -1456,8 +1456,8 @@ static void unref_stream_init (struct SimpleTestConference *dat, guint confid) { GstBus *bus = gst_pipeline_get_bus (GST_PIPELINE (dat->pipeline)); - gst_bus_set_sync_handler (bus, NULL, NULL); - gst_bus_set_sync_handler (bus, unref_stream_sync_handler, dat); + gst_bus_set_sync_handler (bus, NULL, NULL, NULL); + gst_bus_set_sync_handler (bus, unref_stream_sync_handler, dat, NULL); gst_object_unref (bus); } diff --git a/tests/check/rtp/codecs.c b/tests/check/rtp/codecs.c index cea91e74..b9bfffe7 100644 --- a/tests/check/rtp/codecs.c +++ b/tests/check/rtp/codecs.c @@ -1272,8 +1272,8 @@ setup_codec_tests (struct SimpleTestConference **dat, bus = gst_pipeline_get_bus (GST_PIPELINE ((*dat)->pipeline)); fail_if (bus == NULL); - gst_bus_set_sync_handler (bus, NULL, NULL); - gst_bus_set_sync_handler (bus, drop_all_sync_handler, *dat); + gst_bus_set_sync_handler (bus, NULL, NULL, NULL); + gst_bus_set_sync_handler (bus, drop_all_sync_handler, *dat, NULL); gst_object_unref (bus); } @@ -2272,8 +2272,8 @@ GST_START_TEST (test_rtpcodecs_nego_hdrext) bus = gst_pipeline_get_bus (GST_PIPELINE (dat->pipeline)); fail_if (bus == NULL); - gst_bus_set_sync_handler (bus, NULL, NULL); - gst_bus_set_sync_handler (bus, drop_all_sync_handler, dat); + gst_bus_set_sync_handler (bus, NULL, NULL, NULL); + gst_bus_set_sync_handler (bus, drop_all_sync_handler, dat, NULL); gst_object_unref (bus); diff --git a/tests/check/rtp/generic.c b/tests/check/rtp/generic.c index c302c78d..7dc8b860 100644 --- a/tests/check/rtp/generic.c +++ b/tests/check/rtp/generic.c @@ -65,7 +65,7 @@ setup_simple_conference_full ( bus = gst_pipeline_get_bus (GST_PIPELINE (dat->pipeline)); fail_if (bus == NULL); - gst_bus_set_sync_handler (bus, default_sync_handler, dat); + gst_bus_set_sync_handler (bus, default_sync_handler, dat, NULL); gst_object_unref (bus); dat->conference = gst_element_factory_make (conference_elem, NULL); |