Skip to content

Commit

Permalink
Merge pull request #16336 from DaveTBlake/FixTrueHDPassthrough
Browse files Browse the repository at this point in the history
Fix PAPlayer to do passthrough for TrueHD
  • Loading branch information
DaveTBlake committed Jul 12, 2019
2 parents 5ef06bc + 03e8d9e commit c341779
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/cores/paplayer/VideoPlayerCodec.cpp
Expand Up @@ -514,6 +514,11 @@ CAEStreamInfo::DataType VideoPlayerCodec::GetPassthroughStreamType(AVCodecID cod
format.m_streamInfo.m_sampleRate = samplerate;
break;

case AV_CODEC_ID_TRUEHD:
format.m_streamInfo.m_type = CAEStreamInfo::STREAM_TYPE_TRUEHD;
format.m_streamInfo.m_sampleRate = samplerate;
break;

default:
format.m_streamInfo.m_type = CAEStreamInfo::STREAM_TYPE_NULL;
}
Expand Down

0 comments on commit c341779

Please sign in to comment.