Add Atmos detection
parent
f4fa419129
commit
2f0fdbf326
|
@ -464,8 +464,10 @@ const std::string AC3Codec::getStreamInfo()
|
|||
{
|
||||
if (isEAC3())
|
||||
str << "E-";
|
||||
str << "AC3 core+";
|
||||
str << "AC3 core + ";
|
||||
str << hd_type;
|
||||
if (mlp.m_substreams == 4)
|
||||
str << " + ATMOS";
|
||||
str << ". ";
|
||||
|
||||
str << "Peak bitrate: " << mlp.m_bitrate / 1000 << "Kbps (core " << m_bit_rate / 1000 << "Kbps) ";
|
||||
|
|
|
@ -14,6 +14,17 @@ int MLPStreamReader::getHeaderLen() { return MLP_HEADER_LEN; }
|
|||
const std::string MLPStreamReader::getStreamInfo()
|
||||
{
|
||||
std::ostringstream str;
|
||||
|
||||
if (m_subType == MlpSubType::stTRUEHD)
|
||||
str << "TRUE-HD";
|
||||
else if (m_subType == MlpSubType::stMLP)
|
||||
str << "MLP";
|
||||
else
|
||||
str << "UNKNOWN";
|
||||
|
||||
if (m_substreams == 4)
|
||||
str << " + ATMOS";
|
||||
str << ". ";
|
||||
str << "Peak bitrate: " << m_bitrate / 1000 << "Kbps ";
|
||||
str << "Sample Rate: " << m_samplerate / 1000 << "KHz ";
|
||||
str << "Channels: " << m_channels;
|
||||
|
|
Loading…
Reference in New Issue