diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2011-05-03 06:30:17 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2011-05-03 06:30:17 +0400 |
commit | 789b5f8e6e8b6e0e57f57496c23b0fbd47f2c5d4 (patch) | |
tree | 0aa17656a507b8b18e88af6cd9f8118e934d8f41 /src/filters/parser/MpegSplitter | |
parent | 2e988751140bd76842824e9ba82f7a65570825bd (diff) |
Fix : MPEG Splitter can't recognize some H.264 video stream; (ticket #829);
Fix : Correctly read SPS/PPS split across two packets;
Thanks to pwimmer for original patch;
Fix : Internal H.264 decoder can't read some video;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3066 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/MpegSplitter')
-rw-r--r-- | src/filters/parser/MpegSplitter/MpegSplitterFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp b/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp index fef98da22..0a2ebe0ca 100644 --- a/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp +++ b/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp @@ -131,7 +131,7 @@ HRESULT CMpegSplitterFile::Init(IAsyncReader* pAsyncReader) __int64 fp = fps.RemoveHead();
fp = min(GetLength() - MEGABYTE/8, fp);
fp = max(pfp, fp);
- __int64 nfp = fp + (pfp == 0 ? 5*MEGABYTE : MEGABYTE/8);
+ __int64 nfp = fp + (pfp == 0 ? 10*MEGABYTE : MEGABYTE/8);
if(FAILED(hr = SearchStreams(fp, nfp, pAsyncReader))) {
return hr;
}
|