mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
mpegdemux: Only treat streams from 0xa0 to 0xaf as LPCM, not 0xa0..0xbf
Don't treat some streams (Private Stream 2) as LPCM when they're not. Fixes playback of files that have private streams in them now that the PES filter emits such packets.
This commit is contained in:
parent
606daecf70
commit
b460592917
1 changed files with 1 additions and 1 deletions
|
@ -1414,7 +1414,7 @@ gst_flups_demux_reset_psm (GstFluPSDemux * demux)
|
||||||
FILL_TYPE (0x40, 0x7f, -1);
|
FILL_TYPE (0x40, 0x7f, -1);
|
||||||
FILL_TYPE (0x80, 0x87, ST_PS_AUDIO_AC3);
|
FILL_TYPE (0x80, 0x87, ST_PS_AUDIO_AC3);
|
||||||
FILL_TYPE (0x88, 0x9f, ST_PS_AUDIO_DTS);
|
FILL_TYPE (0x88, 0x9f, ST_PS_AUDIO_DTS);
|
||||||
FILL_TYPE (0xa0, 0xbf, ST_PS_AUDIO_LPCM);
|
FILL_TYPE (0xa0, 0xaf, ST_PS_AUDIO_LPCM);
|
||||||
FILL_TYPE (0xbd, 0xbd, -1);
|
FILL_TYPE (0xbd, 0xbd, -1);
|
||||||
FILL_TYPE (0xc0, 0xdf, ST_AUDIO_MPEG1);
|
FILL_TYPE (0xc0, 0xdf, ST_AUDIO_MPEG1);
|
||||||
FILL_TYPE (0xe0, 0xef, ST_GST_VIDEO_MPEG1_OR_2);
|
FILL_TYPE (0xe0, 0xef, ST_GST_VIDEO_MPEG1_OR_2);
|
||||||
|
|
Loading…
Reference in a new issue