tsdemux: add support for LPCM with stream_type = 0x83

https://bugzilla.gnome.org/show_bug.cgi?id=765807
This commit is contained in:
Michael Olbrich 2016-04-29 14:42:34 +02:00 committed by Sebastian Dröge
parent aa1a663c8a
commit 48c5cc1b1b
2 changed files with 5 additions and 0 deletions

View file

@ -48,6 +48,7 @@
/* private stream types */
#define ST_PS_VIDEO_MPEG2_DCII 0x80
#define ST_PS_AUDIO_AC3 0x81
#define ST_PS_AUDIO_LPCM2 0x83
#define ST_PS_AUDIO_DTS 0x8a
#define ST_PS_AUDIO_LPCM 0x8b
#define ST_PS_DVD_SUBPICTURE 0xff

View file

@ -1505,6 +1505,10 @@ 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_LPCM2:
is_audio = TRUE;
caps = gst_caps_new_empty_simple ("audio/x-private2-lpcm");
break;
case ST_PS_AUDIO_DTS:
is_audio = TRUE;
caps = gst_caps_new_empty_simple ("audio/x-dts");