Commit 693f3f9c authored by Thiago Santos's avatar Thiago Santos

playsinkconvertbin: fix caps leak

Let go the reference to the converter caps after using it
parent aa9fb3bc
......@@ -418,6 +418,7 @@ gst_play_sink_convert_bin_getcaps (GstPad * pad, GstCaps * filter)
gst_caps_merge_structure_full (ret, gst_structure_copy (s),
(cf ? gst_caps_features_copy (cf) : NULL));
gst_caps_unref (converter_caps);
} else {
ret = peer_caps;
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