mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
movieplayer: remove console debug output
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1112 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -871,7 +871,7 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
playback->GetPosition(position, duration);
|
playback->GetPosition(position, duration);
|
||||||
startposition = (duration - position);
|
startposition = (duration - position);
|
||||||
|
|
||||||
//printf("CMoviePlayerGui::PlayFile: waiting for data, position %d duration %d (%d)\n", position, duration, towait);
|
//printf("CMoviePlayerGui::PlayFile: waiting for data, position %d duration %d (%d), start %d\n", position, duration, towait, startposition);
|
||||||
if(startposition > towait*1000)
|
if(startposition > towait*1000)
|
||||||
break;
|
break;
|
||||||
//sleep(1);
|
//sleep(1);
|
||||||
@@ -914,7 +914,7 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
if(duration > 100)
|
if(duration > 100)
|
||||||
file_prozent = (unsigned char) (position / (duration / 100));
|
file_prozent = (unsigned char) (position / (duration / 100));
|
||||||
playback->GetSpeed(speed);
|
playback->GetSpeed(speed);
|
||||||
printf("CMoviePlayerGui::PlayFile: speed %d position %d duration %d (%d, %d%%)\n", speed, position, duration, duration-position, file_prozent);
|
// printf("CMoviePlayerGui::PlayFile: speed %d position %d duration %d (%d, %d%%)\n", speed, position, duration, duration-position, file_prozent);
|
||||||
if (duration - position < 1000 && !timeshift)
|
if (duration - position < 1000 && !timeshift)
|
||||||
{
|
{
|
||||||
/* 10 seconds after end-of-file, exit */
|
/* 10 seconds after end-of-file, exit */
|
||||||
|
Reference in New Issue
Block a user