Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Optimized start for trailers

  • Loading branch information...
commit 16120957240147a7e25aff9a8d9873f079acf6f8 1 parent 524b290
@elan elan authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 xbmc/cores/dvdplayer/DVDPlayer.cpp
View
4 xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -2938,6 +2938,10 @@ int CDVDPlayer::GetCacheSize()
// Special case YouTube videos.
if (strFile.Find("http://www.youtube.com") == 0)
return 256;
+
+ // Special case for trailers.
+ if (strFile.Find("http://www.totaleclips.com") == 0)
+ return 256;
// First, figure out the source of the file.
bool bFileOnHD = false;
Please sign in to comment.
Something went wrong with that request. Please try again.