mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
tsdemux: Add support for TrueHD audio
This commit is contained in:
parent
71743d13c4
commit
98265d0b28
1 changed files with 5 additions and 0 deletions
|
@ -954,6 +954,11 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||
caps = gst_caps_new_empty_simple ("audio/x-eac3");
|
||||
break;
|
||||
case ST_BD_AUDIO_AC3_TRUE_HD:
|
||||
template = gst_static_pad_template_get (&audio_template);
|
||||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||
caps = gst_caps_new_empty_simple ("audio/x-true-hd");
|
||||
break;
|
||||
case ST_PS_AUDIO_DTS:
|
||||
template = gst_static_pad_template_get (&audio_template);
|
||||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||
|
|
Loading…
Reference in a new issue