mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 09:23:37 +02:00
Merge branch 'uncool/dvbsi++' commit 610ce926f5
Conflicts:
src/gui/widget/hintboxext.cpp
src/nhttpd/tuxboxapi/coolstream/controlapi.cpp
Origin commit data
------------------
Commit: f8f5467fdb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-12-30 (Sun, 30 Dec 2012)
This commit is contained in:
@@ -524,7 +524,9 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
#ifdef DEBUG
|
||||
printf("CMoviePlayerGui::PlayFile: speed %d position %d duration %d (%d, %d%%)\n", speed, position, duration, duration-position, file_prozent);
|
||||
#endif
|
||||
if (duration - position < 1000 && !timeshift)
|
||||
/* in case ffmpeg report incorrect values */
|
||||
int posdiff = duration - position;
|
||||
if ((posdiff > 0) && (posdiff < 1000) && !timeshift)
|
||||
{
|
||||
/* 10 seconds after end-of-file, stop */
|
||||
if (++eof > 10)
|
||||
|
Reference in New Issue
Block a user