playsinkconvertbin: fix caps leak

Let go the reference to the converter caps after using it
This commit is contained in:
Thiago Santos 2014-06-27 14:24:10 -03:00
parent aa9fb3bc6f
commit 693f3f9ce2

View file

@ -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;
GST_PLAY_SINK_CONVERT_BIN_FILTER_CAPS (filter, ret);