Permalink
Browse files

[omxplayer] Make unsupported when ac3transcode is enabled

  • Loading branch information...
popcornmix committed May 15, 2015
1 parent e0a081d commit e5fb409d39d56c2305211faf47f4ad0eb3c6e0a2
Showing with 6 additions and 0 deletions.
  1. +6 −0 xbmc/cores/omxplayer/OMXHelper.cpp
@@ -56,6 +56,12 @@ bool OMXPlayerUnsuitable(bool m_HasVideo, bool m_HasAudio, CDVDDemux* m_pDemuxer
CLog::Log(LOGNOTICE, "%s OMXPlayer unsuitable due to audio sink", __func__);
return true;
}
// omxplayer doesn't handle ac3 transcode
if (CSettings::Get().GetBool("audiooutput.ac3transcode"))
{
CLog::Log(LOGNOTICE, "%s OMXPlayer unsuitable due to ac3transcode", __func__);
return true;
}
if (m_pDemuxer)
{
// find video stream

0 comments on commit e5fb409

Please sign in to comment.