Skip to content

Commit

Permalink
[omxplayer] Make unsupported when ac3transcode is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed May 15, 2015
1 parent ffeb97a commit 8b32283
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbmc/cores/omxplayer/OMXHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,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
Expand Down

0 comments on commit 8b32283

Please sign in to comment.