mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
rtpbasepayload: plug caps leak
This commit is contained in:
parent
9e13d70b2c
commit
6039266c43
1 changed files with 1 additions and 0 deletions
|
@ -428,6 +428,7 @@ gst_rtp_base_payload_query_default (GstRTPBasePayload * rtpbasepayload,
|
|||
if (rtpbasepayload_class->get_caps) {
|
||||
caps = rtpbasepayload_class->get_caps (rtpbasepayload, pad, filter);
|
||||
gst_query_set_caps_result (query, caps);
|
||||
gst_caps_unref (caps);
|
||||
res = TRUE;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue