mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
matroskamux: Add support for E-AC3
This commit is contained in:
parent
01c4117037
commit
d9a1f3d628
1 changed files with 4 additions and 0 deletions
|
@ -152,6 +152,8 @@ static GstStaticPadTemplate audiosink_templ =
|
|||
COMMON_AUDIO_CAPS "; "
|
||||
"audio/x-ac3, "
|
||||
COMMON_AUDIO_CAPS "; "
|
||||
"audio/x-eac3, "
|
||||
COMMON_AUDIO_CAPS "; "
|
||||
"audio/x-dts, "
|
||||
COMMON_AUDIO_CAPS "; "
|
||||
"audio/x-vorbis, "
|
||||
|
@ -1579,6 +1581,8 @@ gst_matroska_mux_audio_pad_setcaps (GstPad * pad, GstCaps * caps)
|
|||
}
|
||||
} else if (!strcmp (mimetype, "audio/x-ac3")) {
|
||||
context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_AUDIO_AC3);
|
||||
} else if (!strcmp (mimetype, "audio/x-eac3")) {
|
||||
context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_AUDIO_EAC3);
|
||||
} else if (!strcmp (mimetype, "audio/x-dts")) {
|
||||
context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_AUDIO_DTS);
|
||||
} else if (!strcmp (mimetype, "audio/x-tta")) {
|
||||
|
|
Loading…
Reference in a new issue