Commit 64d758ab authored by Wim Taymans's avatar Wim Taymans

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.
parent 282729cf
common @ 3fb3bedc
Subproject commit 89d82b662da00096b70e70a7a102b294acaae6dd
Subproject commit 3fb3bedc9180bab9dc8c2dc784c9327bd1cc8109
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment