aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@svn>2009-12-20 15:09:10 +0000
committerelupus <elupus@svn>2009-12-20 15:09:10 +0000
commit48c6fbf0fadc3d6fce9bd18f4df1c8265ccc514a (patch)
tree1b1255419f46a1c6f895d85d1980574d5a9fd3c7
parent9fb1d8ab3f24dbfb5bda70d535bd13847272dc2d (diff)
changed: no need to ever do any other type of caching than init for tv streams
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25886 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/cores/dvdplayer/DVDPlayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
index fb53ecc7d5..976432cba6 100644
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -1286,7 +1286,9 @@ bool CDVDPlayer::CheckStartCaching(CCurrentStream& current)
if(current.type == STREAM_AUDIO && m_dvdPlayerAudio.IsStalled()
|| current.type == STREAM_VIDEO && m_dvdPlayerVideo.IsStalled())
{
- if(m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD))
+ if(m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD)
+ || m_pInputStream->IsStreamType(DVDSTREAM_TYPE_HTSP)
+ || m_pInputStream->IsStreamType(DVDSTREAM_TYPE_TV))
SetCaching(CACHESTATE_INIT);
else
{