Skip to content

Commit

Permalink
Optimized start for trailers
Browse files Browse the repository at this point in the history
  • Loading branch information
elan committed Sep 20, 2008
1 parent 524b290 commit 1612095
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 1612095

Please sign in to comment.