mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
encoding-profile: Fix caps memory leak
This commit is contained in:
parent
e2bde252a6
commit
9e60877108
1 changed files with 1 additions and 0 deletions
|
@ -1530,6 +1530,7 @@ add_stream_to_profile (GstEncodingContainerProfile * profile,
|
|||
n_streams++;
|
||||
}
|
||||
gst_discoverer_stream_info_list_free (streams);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
return n_streams != 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue