Skip to content

Commit

Permalink
MP1-5180: BDReader: Update project configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
epbk committed Nov 6, 2023
1 parent 5c5e480 commit 8e6a827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions DirectShowFilters/BDReader/BDReader.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@
<ClCompile Include="source\FrameHeaderParser.cpp" />
<ClCompile Include="source\GolombBuffer.cpp" />
<ClCompile Include="source\H264Nalu.cpp" />
<ClCompile Include="source\HEVC\BitstreamReader.cpp" />
<ClCompile Include="source\HEVC\Hevc.cpp" />
<ClCompile Include="source\HEVC\HevcNalDecode.cpp" />
<ClCompile Include="source\LibBlurayWrapper.cpp" />
<ClCompile Include="source\OverlayRenderer.cpp" />
<ClCompile Include="source\Packet.cpp" />
Expand All @@ -377,6 +380,9 @@
<ClInclude Include="source\FrameHeaderParser.h" />
<ClInclude Include="source\GolombBuffer.h" />
<ClInclude Include="source\H264Nalu.h" />
<ClInclude Include="source\HEVC\BitstreamReader.h" />
<ClInclude Include="source\HEVC\Hevc.h" />
<ClInclude Include="source\HEVC\HevcNalDecode.h" />
<ClInclude Include="source\IAudioStream.h" />
<ClInclude Include="source\ISubtitleStream.h" />
<ClInclude Include="source\LibBlurayWrapper.h" />
Expand Down
2 changes: 0 additions & 2 deletions DirectShowFilters/BDReader/source/FrameHeaderParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,8 +1686,6 @@ bool CFrameHeaderParser::Read(hevchdr& h, int len, CMediaType* pmt)
h.progressive = true;
h.AvgTimePerFrame = 370000; //27 Hz

BYTE* pBuff = GetBufferPos();

while (GetRemaining() > 4 && (h.spslen == 0 || h.ppslen == 0 || h.vpslen == 0))
{
const int nal_len = BitRead(32);
Expand Down

0 comments on commit 8e6a827

Please sign in to comment.