Skip to content

Commit

Permalink
Fix DTS channels
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdr428 committed Sep 23, 2023
1 parent bb46aa9 commit 0d1dc90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tsMuxer/dtsStreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ const std::string DTSStreamReader::getStreamInfo()
if (hd_pi_lfeCnt)
str << hd_pi_channels - hd_pi_lfeCnt << '.' << hd_pi_lfeCnt;
else
str << hd_pi_channels;
str << static_cast<int>(hd_pi_channels);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions tsMuxer/dtsStreamReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ class DTSStreamReader final : public SimplePacketizerReader
int pi_frame_length;
int pi_channels_conf;

int pi_channels;
uint8_t pi_channels;
int pi_lfeCnt;

int hd_pi_channels;
uint8_t hd_pi_channels;
int hd_pi_lfeCnt;

int hd_bitDepth;
Expand Down

0 comments on commit 0d1dc90

Please sign in to comment.