Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed: don't allow playlist items to use QueueNextFile in dvdplayer…

… for now.

Main reason being that there is currently no good way to handle setting changes between the files.
  • Loading branch information...
commit e7015f96b766ed17fe1072113bee8004c52a5278 1 parent 1e87287
Joakim Plate authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 xbmc/cores/dvdplayer/DVDPlayer.cpp
11 xbmc/cores/dvdplayer/DVDPlayer.cpp
View
@@ -509,6 +509,17 @@ bool CDVDPlayer::QueueNextFile(const CFileItem &file)
if(!IsPlaying())
return false;
+ /* since we don't know what todo with current video settings *
+ * we don't allow playlists to play seamless for now */
+ if(!g_application.CurrentFileItem().IsStack())
+ {
+ CLog::Log(LOGDEBUG, "CDVDPlayer::QueueNextFile() - currently don't allow seamless for playlists");
+ CSingleLock lock(m_Queue);
+ m_Queue.item = file;
+ m_Queue.state = SPlayQueue::FAILED;
+ return false;
+ }
+
CSingleLock lock(m_Queue);
m_Queue.item = file;
m_Queue.state = SPlayQueue::QUEUED;
Please sign in to comment.
Something went wrong with that request. Please try again.