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 committed May 18, 2013
1 parent 60f29a0 commit 2e18d81
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 2e18d81

Please sign in to comment.