summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpvp8pay.c
diff options
context:
space:
mode:
authorStian Selnes <stian@pexip.com>2018-10-19 16:17:17 +0200
committerTim-Philipp Müller <tim@centricular.com>2020-03-12 16:49:58 +0000
commit81a87c26f980681531d54e3bdd259a99e160af19 (patch)
tree42c04e6604ac631f8e43e4b8db94074c1c57323d /gst/rtp/gstrtpvp8pay.c
parent5a893f2a95f6614ef8e5b567c21dc68acadcc972 (diff)
rtpvp8pay, rtpvp9pay: fix caps leak in set_caps()
Diffstat (limited to 'gst/rtp/gstrtpvp8pay.c')
-rw-r--r--gst/rtp/gstrtpvp8pay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpvp8pay.c b/gst/rtp/gstrtpvp8pay.c
index 17a7788c1..ed6a2a261 100644
--- a/gst/rtp/gstrtpvp8pay.c
+++ b/gst/rtp/gstrtpvp8pay.c
@@ -531,6 +531,7 @@ gst_rtp_vp8_pay_set_caps (GstRTPBasePayload * payload, GstCaps * caps)
if (!gst_value_can_intersect (&default_value, value))
encoding_name = "VP8-DRAFT-IETF-01";
}
+ gst_caps_unref (src_caps);
}
gst_rtp_base_payload_set_options (payload, "video", TRUE,