mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
opusparse: fix caps leak
This commit is contained in:
parent
98d6c005b8
commit
1678bcbeec
1 changed files with 1 additions and 0 deletions
|
@ -317,6 +317,7 @@ gst_opus_parse_parse_frame (GstBaseParse * base, GstBaseParseFrame * frame)
|
||||||
gst_buffer_replace (&parse->comment_header, NULL);
|
gst_buffer_replace (&parse->comment_header, NULL);
|
||||||
|
|
||||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps);
|
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps);
|
||||||
|
gst_caps_unref (caps);
|
||||||
parse->header_sent = TRUE;
|
parse->header_sent = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue