Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdr428 committed Nov 24, 2023
2 parents 0cbe9e0 + 0c55f71 commit ebbe832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tsMuxer/hevcStreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ unsigned HEVCStreamReader::getStreamHeight() const { return m_sps ? m_sps->pic_h

int HEVCStreamReader::getStreamHDR() const
{
return (m_hdr->isDVEL) ? 4 : (m_hdr->isHDR10plus ? 16 : (m_hdr->isHDR10 ? 2 : 1));
return (m_hdr->isDVRPU || m_hdr->isDVEL) ? 4 : (m_hdr->isHDR10plus ? 16 : (m_hdr->isHDR10 ? 2 : 1));
}

double HEVCStreamReader::getStreamFPS(void* curNalUnit)
Expand Down
2 changes: 1 addition & 1 deletion tsMuxer/tsMuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void TSMuxer::intAddStream(const std::string& streamName, const std::string& cod
streamType = StreamType::AUDIO_TRUE_HD;
else if (ac3Reader->isEAC3() && !ac3Reader->getDownconvertToAC3())
{
if (m_bluRayMode)
if (m_bluRayMode || m_m2tsMode)
{
if (ac3Reader->isSecondary())
streamType = StreamType::AUDIO_EAC3_SECONDARY;
Expand Down

0 comments on commit ebbe832

Please sign in to comment.