mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
tests: qtdemux: fix element and pad leak
https://bugzilla.gnome.org/show_bug.cgi?id=768739
This commit is contained in:
parent
94232da665
commit
7da2bac2e3
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ GST_START_TEST (test_qtdemux_input_gap)
|
|||
offset += seg_1_sample_sizes[i];
|
||||
pts += seg_1_sample_duration;
|
||||
}
|
||||
|
||||
gst_object_unref (sinkpad);
|
||||
gst_element_set_state (qtdemux, GST_STATE_NULL);
|
||||
gst_object_unref (qtdemux);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue