mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 22:46:24 +00:00
tsdemux: add support for LPCM with stream_type = 0x83
https://bugzilla.gnome.org/show_bug.cgi?id=765807
This commit is contained in:
parent
aa1a663c8a
commit
48c5cc1b1b
2 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
||||||
/* private stream types */
|
/* private stream types */
|
||||||
#define ST_PS_VIDEO_MPEG2_DCII 0x80
|
#define ST_PS_VIDEO_MPEG2_DCII 0x80
|
||||||
#define ST_PS_AUDIO_AC3 0x81
|
#define ST_PS_AUDIO_AC3 0x81
|
||||||
|
#define ST_PS_AUDIO_LPCM2 0x83
|
||||||
#define ST_PS_AUDIO_DTS 0x8a
|
#define ST_PS_AUDIO_DTS 0x8a
|
||||||
#define ST_PS_AUDIO_LPCM 0x8b
|
#define ST_PS_AUDIO_LPCM 0x8b
|
||||||
#define ST_PS_DVD_SUBPICTURE 0xff
|
#define ST_PS_DVD_SUBPICTURE 0xff
|
||||||
|
|
|
@ -1505,6 +1505,10 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
||||||
is_audio = TRUE;
|
is_audio = TRUE;
|
||||||
caps = gst_caps_new_empty_simple ("audio/x-ac3");
|
caps = gst_caps_new_empty_simple ("audio/x-ac3");
|
||||||
break;
|
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:
|
case ST_PS_AUDIO_DTS:
|
||||||
is_audio = TRUE;
|
is_audio = TRUE;
|
||||||
caps = gst_caps_new_empty_simple ("audio/x-dts");
|
caps = gst_caps_new_empty_simple ("audio/x-dts");
|
||||||
|
|
Loading…
Reference in a new issue