mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
tsdemux: Support ATSC EAC3
EAC3 bit streams shall be identified with a stream_type value of 0x87 when transmitted as PES streams conforming to ATSC-published standards. It is specified in ATSC Standard A/52. https://bugzilla.gnome.org/show_bug.cgi?id=770528
This commit is contained in:
parent
fcea134ec4
commit
35d147930d
2 changed files with 6 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
/* private stream types */
|
||||
#define ST_PS_VIDEO_MPEG2_DCII 0x80
|
||||
#define ST_PS_AUDIO_AC3 0x81
|
||||
#define ST_PS_AUDIO_EAC3 0x87
|
||||
#define ST_PS_AUDIO_LPCM2 0x83
|
||||
#define ST_PS_AUDIO_DTS 0x8a
|
||||
#define ST_PS_AUDIO_LPCM 0x8b
|
||||
|
|
|
@ -1506,6 +1506,11 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||
is_audio = TRUE;
|
||||
caps = gst_caps_new_empty_simple ("audio/x-ac3");
|
||||
break;
|
||||
case ST_PS_AUDIO_EAC3:
|
||||
/* ATSC_ENHANCED_AC3 */
|
||||
is_audio = TRUE;
|
||||
caps = gst_caps_new_empty_simple ("audio/x-eac3");
|
||||
break;
|
||||
case ST_PS_AUDIO_LPCM2:
|
||||
is_audio = TRUE;
|
||||
caps = gst_caps_new_empty_simple ("audio/x-private2-lpcm");
|
||||
|
|
Loading…
Reference in a new issue