From 64d758ab7db358ad23ad7201cf99da46b5f63930 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 30 Aug 2005 19:54:35 +0000 Subject: 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. --- common | 2 +- tests/check/elements/audioresample.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common b/common index 89d82b66..3fb3bedc 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 89d82b662da00096b70e70a7a102b294acaae6dd +Subproject commit 3fb3bedc9180bab9dc8c2dc784c9327bd1cc8109 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; } -- cgit v1.2.1