Commit 907ef9b7 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

encoding-profile: Fix caps memory leak

parent bfe46057
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment