mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
matroska-demux: don't leak audio codec_data buffer
This commit is contained in:
parent
4b06e3095a
commit
ad245a0dc2
1 changed files with 1 additions and 0 deletions
|
@ -5266,6 +5266,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
|
|||
"framed", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, priv, NULL);
|
||||
*codec_name = g_strdup_printf ("MPEG-%d AAC audio", mpegversion);
|
||||
gst_buffer_unref (priv);
|
||||
}
|
||||
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_AUDIO_TTA)) {
|
||||
caps = gst_caps_new_simple ("audio/x-tta",
|
||||
|
|
Loading…
Reference in a new issue