check/elements/: Fix checks.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 30 Aug 2005 19:54:35 +0000 (19:54 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 30 Aug 2005 19:54:35 +0000 (19:54 +0000)
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
tests/check/elements/audioresample.c

diff --git a/common b/common
index 89d82b6..3fb3bed 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 89d82b662da00096b70e70a7a102b294acaae6dd
+Subproject commit 3fb3bedc9180bab9dc8c2dc784c9327bd1cc8109
index d39eb9b..dd87b61 100644 (file)
@@ -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;
 }