mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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.
This commit is contained in:
parent
282729cfa6
commit
64d758ab7d
2 changed files with 3 additions and 1 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue