mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
check/elements/volume.c (cleanup_volume): Fix for running
Original commit message from CVS: 2005-08-29 Andy Wingo <wingo@pobox.com> * check/elements/volume.c (cleanup_volume): Fix for running CK_FORK=no.
This commit is contained in:
parent
fd30c157b8
commit
af5663e170
3 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2005-08-29 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* check/elements/volume.c (cleanup_volume): Fix for running
|
||||
CK_FORK=no.
|
||||
|
||||
* check/elements/audioconvert.c: Convert from native endian, not
|
||||
little endian.
|
||||
|
||||
|
|
|
@ -89,6 +89,10 @@ cleanup_volume (GstElement * volume)
|
|||
{
|
||||
GST_DEBUG ("cleanup_volume");
|
||||
|
||||
g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_list_free (buffers);
|
||||
buffers = NULL;
|
||||
|
||||
gst_check_teardown_src_pad (volume);
|
||||
gst_check_teardown_sink_pad (volume);
|
||||
gst_check_teardown_element (volume);
|
||||
|
|
|
@ -89,6 +89,10 @@ cleanup_volume (GstElement * volume)
|
|||
{
|
||||
GST_DEBUG ("cleanup_volume");
|
||||
|
||||
g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_list_free (buffers);
|
||||
buffers = NULL;
|
||||
|
||||
gst_check_teardown_src_pad (volume);
|
||||
gst_check_teardown_sink_pad (volume);
|
||||
gst_check_teardown_element (volume);
|
||||
|
|
Loading…
Reference in a new issue