From 2094171aae55bd69ca6edcf9a56a03593c102aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Thu, 24 Nov 2011 21:39:14 +0100 Subject: [PATCH] tests: update for gstcheck API change --- tests/check/elements/audioconvert.c | 4 ++-- tests/check/elements/audiotestsrc.c | 2 +- tests/check/elements/vorbisdec.c | 4 ++-- tests/check/elements/vorbistag.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/check/elements/audioconvert.c b/tests/check/elements/audioconvert.c index e101f675e7..b6d7de0a06 100644 --- a/tests/check/elements/audioconvert.c +++ b/tests/check/elements/audioconvert.c @@ -64,8 +64,8 @@ setup_audioconvert (GstCaps * outcaps) audioconvert = gst_check_setup_element ("audioconvert"); g_object_set (G_OBJECT (audioconvert), "dithering", 0, NULL); g_object_set (G_OBJECT (audioconvert), "noise-shaping", 0, NULL); - mysrcpad = gst_check_setup_src_pad (audioconvert, &srctemplate, NULL); - mysinkpad = gst_check_setup_sink_pad (audioconvert, &sinktemplate, NULL); + mysrcpad = gst_check_setup_src_pad (audioconvert, &srctemplate); + mysinkpad = gst_check_setup_sink_pad (audioconvert, &sinktemplate); /* this installs a getcaps func that will always return the caps we set * later */ gst_pad_use_fixed_caps (mysinkpad); diff --git a/tests/check/elements/audiotestsrc.c b/tests/check/elements/audiotestsrc.c index 8151b992b1..f938175b66 100644 --- a/tests/check/elements/audiotestsrc.c +++ b/tests/check/elements/audiotestsrc.c @@ -50,7 +50,7 @@ setup_audiotestsrc (void) GST_DEBUG ("setup_audiotestsrc"); audiotestsrc = gst_check_setup_element ("audiotestsrc"); - mysinkpad = gst_check_setup_sink_pad (audiotestsrc, &sinktemplate, NULL); + mysinkpad = gst_check_setup_sink_pad (audiotestsrc, &sinktemplate); gst_pad_set_active (mysinkpad, TRUE); return audiotestsrc; diff --git a/tests/check/elements/vorbisdec.c b/tests/check/elements/vorbisdec.c index e2db8c29f8..87ac9f17de 100644 --- a/tests/check/elements/vorbisdec.c +++ b/tests/check/elements/vorbisdec.c @@ -73,8 +73,8 @@ setup_vorbisdec (void) GST_DEBUG ("setup_vorbisdec"); vorbisdec = gst_check_setup_element ("vorbisdec"); - mysrcpad = gst_check_setup_src_pad (vorbisdec, &srctemplate, NULL); - mysinkpad = gst_check_setup_sink_pad (vorbisdec, &sinktemplate, NULL); + mysrcpad = gst_check_setup_src_pad (vorbisdec, &srctemplate); + mysinkpad = gst_check_setup_sink_pad (vorbisdec, &sinktemplate); gst_pad_set_active (mysrcpad, TRUE); gst_pad_set_active (mysinkpad, TRUE); diff --git a/tests/check/elements/vorbistag.c b/tests/check/elements/vorbistag.c index d17ab47e10..d89d2e0a35 100644 --- a/tests/check/elements/vorbistag.c +++ b/tests/check/elements/vorbistag.c @@ -96,8 +96,8 @@ setup_vorbistag (void) GST_DEBUG ("setup_vorbistag"); vorbistag = gst_check_setup_element ("vorbistag"); - mysrcpad = gst_check_setup_src_pad (vorbistag, &srctemplate, NULL); - mysinkpad = gst_check_setup_sink_pad (vorbistag, &sinktemplate, NULL); + mysrcpad = gst_check_setup_src_pad (vorbistag, &srctemplate); + mysinkpad = gst_check_setup_sink_pad (vorbistag, &sinktemplate); gst_pad_set_active (mysrcpad, TRUE); gst_pad_set_active (mysinkpad, TRUE);