mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
testsrcbin: Remove spurious caps unref
Caps are cleared at the end of the function Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2575 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4668>
This commit is contained in:
parent
b679469fac
commit
6dff93acf6
1 changed files with 0 additions and 1 deletions
|
@ -343,7 +343,6 @@ gst_test_src_bin_setup_src (GstTestSrcBin * self, const gchar * srcfactory,
|
|||
capsfilter = gst_element_factory_make ("capsfilter", NULL);
|
||||
if (caps) {
|
||||
g_object_set (capsfilter, "caps", caps, NULL);
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
src = gst_element_factory_make (srcfactory, NULL);
|
||||
|
|
Loading…
Reference in a new issue