Skip to content

Commit

Permalink
[pvr] changed: also use CACHESTATE_PVR in dvdplayer when playing a re…
Browse files Browse the repository at this point in the history
…cording that's still running
  • Loading branch information
opdenkamp committed Mar 5, 2015
1 parent 8d3a0a1 commit 78901e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4533,6 +4533,7 @@ bool CDVDPlayer::SwitchChannel(const CPVRChannelPtr &channel)
bool CDVDPlayer::CachePVRStream(void) const
{
return m_pInputStream->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER) &&
!g_PVRManager.IsPlayingRecording() &&
(!g_PVRManager.IsPlayingRecording() ||
(m_item.HasPVRRecordingInfoTag() && m_item.GetPVRRecordingInfoTag()->IsBeingRecorded()))&&
g_advancedSettings.m_bPVRCacheInDvdPlayer;
}

0 comments on commit 78901e2

Please sign in to comment.