mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
h264depay: don't leak codec data buffer in byte-stream=true mode
https://bugzilla.gnome.org/show_bug.cgi?id=640063
This commit is contained in:
parent
08855b45b6
commit
693b3b7e0b
1 changed files with 1 additions and 0 deletions
|
@ -445,6 +445,7 @@ gst_rtp_h264_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
|
|||
|
||||
gst_caps_set_simple (srccaps,
|
||||
"codec_data", GST_TYPE_BUFFER, codec_data, NULL);
|
||||
gst_buffer_unref (codec_data);
|
||||
}
|
||||
|
||||
gst_caps_set_simple (srccaps, "stream-format", G_TYPE_STRING,
|
||||
|
|
Loading…
Reference in a new issue