Skip to content

Commit

Permalink
pvr: fix channel switch for addons using other stream
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and davilla committed Oct 26, 2013
1 parent efbb36f commit 2284a23
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -315,8 +315,9 @@ CDVDInputStream::ENextStream CDVDInputStreamPVRManager::NextStream()

m_eof = IsEOF();

if (m_pOtherStream)
return m_pOtherStream->NextStream();
CDVDInputStream::ENextStream next;
if (m_pOtherStream && ((next = m_pOtherStream->NextStream()) != NEXTSTREAM_NONE))
return next;
else if(m_pFile->SkipNext())
{
if (m_eof)
Expand Down

0 comments on commit 2284a23

Please sign in to comment.