Commit 18b53c22 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

rtph265depay: fix caps leak

parent a68a7fb6
...@@ -541,6 +541,7 @@ gst_rtp_h265_set_src_caps (GstRtpH265Depay * rtph265depay) ...@@ -541,6 +541,7 @@ gst_rtp_h265_set_src_caps (GstRtpH265Depay * rtph265depay)
gst_caps_unref (tmp_caps); gst_caps_unref (tmp_caps);
} }
gst_caps_unref (old_caps);
} else { } else {
res = res =
gst_pad_set_caps (GST_RTP_BASE_DEPAYLOAD_SRCPAD (rtph265depay), gst_pad_set_caps (GST_RTP_BASE_DEPAYLOAD_SRCPAD (rtph265depay),
......
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