summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-05-26 18:47:32 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-05-26 21:05:01 +0100
commitb46059291736f78e7a86bb5bd1e91c9a6025113f (patch)
tree4091136727e8e9961f16716c8e8f7224c3e3acef /gst
parent606daecf70a6c197af06bcec2f2f3551ea2508e0 (diff)
downloadgst-plugins-bad-b46059291736f78e7a86bb5bd1e91c9a6025113f.tar.gz
gst-plugins-bad-b46059291736f78e7a86bb5bd1e91c9a6025113f.tar.bz2
gst-plugins-bad-b46059291736f78e7a86bb5bd1e91c9a6025113f.zip
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegdemux/gstmpegdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 3f298fb6..ce1d0978 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -1414,7 +1414,7 @@ gst_flups_demux_reset_psm (GstFluPSDemux * demux)
FILL_TYPE (0x40, 0x7f, -1);
FILL_TYPE (0x80, 0x87, ST_PS_AUDIO_AC3);
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 (0xc0, 0xdf, ST_AUDIO_MPEG1);
FILL_TYPE (0xe0, 0xef, ST_GST_VIDEO_MPEG1_OR_2);