Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2755 from popcornmix/hang_eos_seek

[rbp/omxplayer] Fix for hang following seek after eos
  • Loading branch information...
commit 60f29a0e155121f7dd982d5172869279e36380d4 2 parents 79c4903 + 5b75f44
@huceke huceke authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 xbmc/cores/omxplayer/OMXPlayer.cpp
View
8 xbmc/cores/omxplayer/OMXPlayer.cpp
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.