mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
audiorate: fix buffer leaks in tests
It internally uses gst_check_chain_func() so we should call gst_check_drop_buffers() when tearing down tests to free the buffers which have been exchanged through the pipeline. https://bugzilla.gnome.org/show_bug.cgi?id=766226
This commit is contained in:
parent
825c150e9d
commit
e17299290a
1 changed files with 1 additions and 0 deletions
|
@ -442,6 +442,7 @@ GST_START_TEST (test_large_discont)
|
|||
gst_element_set_state (audiorate, GST_STATE_NULL);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_check_drop_buffers ();
|
||||
gst_check_teardown_sink_pad (audiorate);
|
||||
gst_check_teardown_src_pad (audiorate);
|
||||
|
||||
|
|
Loading…
Reference in a new issue