tsdemux: Add support for TrueHD audio
This commit is contained in:
parent
71743d13c4
commit
98265d0b28
@ -954,6 +954,11 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||||||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||||
caps = gst_caps_new_empty_simple ("audio/x-eac3");
|
caps = gst_caps_new_empty_simple ("audio/x-eac3");
|
||||||
break;
|
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:
|
case ST_PS_AUDIO_DTS:
|
||||||
template = gst_static_pad_template_get (&audio_template);
|
template = gst_static_pad_template_get (&audio_template);
|
||||||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user