mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-12 16:03:36 +02:00
movieplayer: fix eof-handling for non-coolstream platforms; thx to Satbaby
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5ba724d65a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-23 (Mon, 23 Oct 2017)
Origin message was:
------------------
- movieplayer: fix eof-handling for non-coolstream platforms; thx to Satbaby
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -938,6 +938,7 @@ void* CMoviePlayerGui::bgPlayThread(void *arg)
|
|||||||
#if 0
|
#if 0
|
||||||
printf("CMoviePlayerGui::bgPlayThread: position %d duration %d (%d)\n", mp->position, mp->duration, mp->duration-mp->position);
|
printf("CMoviePlayerGui::bgPlayThread: position %d duration %d (%d)\n", mp->position, mp->duration, mp->duration-mp->position);
|
||||||
#endif
|
#endif
|
||||||
|
#if HAVE_COOL_HARDWARE
|
||||||
if (pos == mp->position)
|
if (pos == mp->position)
|
||||||
eof++;
|
eof++;
|
||||||
else
|
else
|
||||||
@@ -948,6 +949,7 @@ void* CMoviePlayerGui::bgPlayThread(void *arg)
|
|||||||
chidused = true;
|
chidused = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
pos = mp->position;
|
pos = mp->position;
|
||||||
}
|
}
|
||||||
bgmutex.lock();
|
bgmutex.lock();
|
||||||
|
Reference in New Issue
Block a user