movieplayer: try to fix rezap audiostreams

Origin commit data
------------------
Branch: ni/coolstream
Commit: c5be130ba8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-04 (Sat, 04 Nov 2017)

Origin message was:
------------------
- movieplayer: try to fix rezap audiostreams

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-04 13:54:44 +01:00
parent 4cad288e08
commit befbf9b24f

View File

@@ -983,7 +983,7 @@ void* CMoviePlayerGui::bgPlayThread(void *arg)
#if 0
printf("CMoviePlayerGui::bgPlayThread: position %d duration %d (%d)\n", mp->position, mp->duration, mp->duration-mp->position);
#endif
if (pos == mp->position)
if (pos == mp->position && mp->duration > 0)
eof++;
else
eof = 0;