mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
matroskademux: Add AAC profile/level to the caps
https://bugzilla.gnome.org/show_bug.cgi?id=703312
This commit is contained in:
parent
c469434ea8
commit
423bddac6a
1 changed files with 3 additions and 0 deletions
|
@ -5441,6 +5441,9 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
|
|||
"framed", G_TYPE_BOOLEAN, TRUE,
|
||||
"stream-format", G_TYPE_STRING, "raw", NULL);
|
||||
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, priv, NULL);
|
||||
if (context->codec_priv && context->codec_priv_size > 0)
|
||||
gst_codec_utils_aac_caps_set_level_and_profile (caps,
|
||||
context->codec_priv, context->codec_priv_size);
|
||||
*codec_name = g_strdup_printf ("MPEG-%d AAC audio", mpegversion);
|
||||
gst_buffer_unref (priv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue