summaryrefslogtreecommitdiff
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
parent282729cfa6b128ae8bb0174d49b7658dfcb2e2fa (diff)
downloadgstreamer-plugins-bad-64d758ab7db358ad23ad7201cf99da46b5f63930.tar.gz
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.
m---------common0
-rw-r--r--tests/check/elements/audioresample.c2
2 files changed, 2 insertions, 0 deletions
diff --git a/common b/common
-Subproject 89d82b662da00096b70e70a7a102b294acaae6d
+Subproject 3fb3bedc9180bab9dc8c2dc784c9327bd1cc810
diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c
index d39eb9b17..dd87b614f 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;
}