Skip to content
Snippets Groups Projects
Commit fe1fad52 authored by Sebastian Dröge's avatar Sebastian Dröge :tea: Committed by Sebastian Dröge
Browse files

playsinkconvertbin: Fix leak of the downstream caps filter

parent 883d095b
No related branches found
No related tags found
No related merge requests found
......@@ -413,6 +413,8 @@ gst_play_sink_convert_bin_getcaps (GstPad * pad, GstCaps * filter)
}
peer_caps = gst_pad_query_caps (peer, downstream_filter);
if (downstream_filter)
gst_caps_unref (downstream_filter);
gst_object_unref (peer);
if (self->converter_caps && is_raw_caps (peer_caps, self->audio)) {
ret = gst_caps_merge (peer_caps, gst_caps_ref (self->converter_caps));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment