diff options
author | Stian Selnes <stian@pexip.com> | 2018-10-19 16:17:17 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-03-12 16:49:58 +0000 |
commit | 81a87c26f980681531d54e3bdd259a99e160af19 (patch) | |
tree | 42c04e6604ac631f8e43e4b8db94074c1c57323d /gst/rtp/gstrtpvp8pay.c | |
parent | 5a893f2a95f6614ef8e5b567c21dc68acadcc972 (diff) |
rtpvp8pay, rtpvp9pay: fix caps leak in set_caps()
Diffstat (limited to 'gst/rtp/gstrtpvp8pay.c')
-rw-r--r-- | gst/rtp/gstrtpvp8pay.c | 1 |
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, |