Skip to content

Commit

Permalink
paplayer: wait for eof if no crossfading or cue sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Nov 3, 2015
1 parent 6cb7bb4 commit dac5d66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/cores/paplayer/PAPlayer.cpp
Expand Up @@ -455,7 +455,8 @@ bool PAPlayer::QueueNextFileEx(const CFileItem &file, bool fadeIn/* = true */, b

void PAPlayer::UpdateStreamInfoPlayNextAtFrame(StreamInfo *si, unsigned int crossFadingTime)
{
if (si)
// if no crossfading or cue sheet, wait for eof
if (si && (crossFadingTime || si->m_endOffset))
{
int64_t streamTotalTime = si->m_decoder.TotalTime();
if (si->m_endOffset)
Expand Down

0 comments on commit dac5d66

Please sign in to comment.