Skip to content

Commit

Permalink
Merge pull request #2755 from popcornmix/hang_eos_seek
Browse files Browse the repository at this point in the history
[rbp/omxplayer] Fix for hang following seek after eos
  • Loading branch information
huceke committed May 16, 2013
2 parents 79c4903 + 5b75f44 commit 60f29a0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion xbmc/cores/omxplayer/OMXPlayer.cpp
Expand Up @@ -1178,7 +1178,13 @@ void COMXPlayer::Process()
CDVDDemuxUtils::FreeDemuxPacket(pPacket);
continue;
}

if (pPacket)
{
// reset eos state when we get a packet (e.g. for case of seek after eos)
bOmxWaitVideo = false;
bOmxWaitAudio = false;
bOmxSentEOFs = false;
}
if (!pPacket)
{
// when paused, demuxer could be be returning empty
Expand Down

0 comments on commit 60f29a0

Please sign in to comment.