Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dvdplayer: remove invalid special case for isbetterstream for pvr

This can cause dvdplayer to change streams for no apparent
reason.
  • Loading branch information...
commit 53038ceac8c96413feba31f836500a00c93bb3af 1 parent 21fe257
@elupus elupus authored
Showing with 0 additions and 24 deletions.
  1. +0 −24 xbmc/cores/dvdplayer/DVDPlayer.cpp
View
24 xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -901,30 +901,6 @@ bool CDVDPlayer::IsBetterStream(CCurrentStream& current, CDemuxStream* stream)
if(current.type == STREAM_VIDEO && current.id < 0)
return true;
}
- else if (m_pInputStream && m_pInputStream->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER))
- {
- if(stream->source == current.source &&
- stream->iId == current.id)
- return false;
-
- if(stream->disabled)
- return false;
-
- if(stream->type != current.type)
- return false;
-
- if(current.type == STREAM_AUDIO && stream->iPhysicalId == m_dvd.iSelectedAudioStream)
- return true;
-
- if(current.type == STREAM_SUBTITLE && stream->iPhysicalId == m_dvd.iSelectedSPUStream)
- return true;
-
- if(current.type == STREAM_TELETEXT)
- return true;
-
- if(current.id < 0)
- return true;
- }
else
{
if(stream->source == current.source
Please sign in to comment.
Something went wrong with that request. Please try again.