diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2011-06-20 10:25:18 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2011-06-20 10:25:18 +0400 |
commit | ff3ac6c21ffc00976621e873e6e4d1fe1a92283d (patch) | |
tree | 611a41b8adde8b16f42d9b24ac9d057744b68a07 /src/filters/parser/MpegSplitter | |
parent | 4f465cf8b81f1da800b1bfc57cc48e317d24fbb5 (diff) |
Change : Complete information in the OSD when you change audio tracks on DVD, ticket #1454;
Fix : MPEGSplitter, unable to detect some AC3 streams. Thanks to v0lt for the tip and sample.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3252 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MpegSplitter')
-rw-r--r-- | src/filters/parser/MpegSplitter/MpegSplitterFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp b/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp index 7919f02d2..685c6f7a6 100644 --- a/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp +++ b/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp @@ -508,7 +508,7 @@ DWORD CMpegSplitterFile::AddStream(WORD pid, BYTE pesid, DWORD len) // AC3
if(type == unknown) {
CMpegSplitterFile::ac3hdr h;
- if(Read(h, len, &s.mt)) {
+ if(Read(h, len, &s.mt, false)) {
type = audio;
}
}
@@ -517,7 +517,7 @@ DWORD CMpegSplitterFile::AddStream(WORD pid, BYTE pesid, DWORD len) if(type == unknown) {
Seek(pos);
CMpegSplitterFile::dtshdr h;
- if(Read(h, len, &s.mt)) {
+ if(Read(h, len, &s.mt, false)) {
type = audio;
}
}
|