summaryrefslogtreecommitdiffstats
path: root/tests/check
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-08-30 19:54:35 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-08-30 19:54:35 +0000
commit64d758ab7db358ad23ad7201cf99da46b5f63930 (patch)
treea107a77c45eb19d1b3d30bb7c7d441a9b91c8b35 /tests/check
parent282729cfa6b128ae8bb0174d49b7658dfcb2e2fa (diff)
downloadgst-plugins-bad-64d758ab7db358ad23ad7201cf99da46b5f63930.tar.gz
gst-plugins-bad-64d758ab7db358ad23ad7201cf99da46b5f63930.tar.bz2
gst-plugins-bad-64d758ab7db358ad23ad7201cf99da46b5f63930.zip
check/elements/: Fix checks.
Original commit message from CVS: * check/elements/audioconvert.c: (setup_audioconvert): * check/elements/audioresample.c: (setup_audioresample): * check/elements/volume.c: (setup_volume): Fix checks.
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/elements/audioresample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c
index d39eb9b1..dd87b614 100644
--- a/tests/check/elements/audioresample.c
+++ b/tests/check/elements/audioresample.c
@@ -75,6 +75,7 @@ setup_audioresample (int channels, int inrate, int outrate)
gst_pad_set_caps (pad, caps);
gst_object_unref (GST_OBJECT (pad));
gst_caps_unref (caps);
+ gst_pad_set_active (mysrcpad, TRUE);
caps = gst_caps_from_string (RESAMPLE_CAPS_TEMPLATE_STRING);
structure = gst_caps_get_structure (caps, 0);
@@ -90,6 +91,7 @@ setup_audioresample (int channels, int inrate, int outrate)
gst_pad_set_caps (pad, caps);
gst_object_unref (GST_OBJECT (pad));
gst_caps_unref (caps);
+ gst_pad_set_active (mysinkpad, TRUE);
return audioresample;
}