mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
rtpg726pay: fix caps leak
https://bugzilla.gnome.org/show_bug.cgi?id=749544
This commit is contained in:
parent
335afc982b
commit
5e226d63f9
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ gst_rtp_g726_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
|
|||
/* intersect to filter */
|
||||
intersect = gst_caps_intersect (peercaps, filter);
|
||||
gst_caps_unref (peercaps);
|
||||
gst_caps_unref (filter);
|
||||
|
||||
GST_DEBUG_OBJECT (payload, "intersected to %" GST_PTR_FORMAT, intersect);
|
||||
|
||||
|
|
Loading…
Reference in a new issue