mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
movieplayer: shorten debug messages
This commit is contained in:
committed by
svenhoefer
parent
70b7f74362
commit
6757566be2
@@ -935,7 +935,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
update_lcd = true;
|
update_lcd = true;
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("CMoviePlayerGui::PlayFile: speed %d position %d duration %d (%d, %d%%)\n", speed, position, duration, duration-position, file_prozent);
|
printf("CMoviePlayerGui::%s: spd %d pos %d/%d (%d, %d%%)\n", __func__, speed, position, duration, duration-position, file_prozent);
|
||||||
#endif
|
#endif
|
||||||
/* in case ffmpeg report incorrect values */
|
/* in case ffmpeg report incorrect values */
|
||||||
int posdiff = duration - position;
|
int posdiff = duration - position;
|
||||||
@@ -1750,7 +1750,7 @@ void CMoviePlayerGui::UpdatePosition()
|
|||||||
file_prozent = (unsigned char) (position / (duration / 100));
|
file_prozent = (unsigned char) (position / (duration / 100));
|
||||||
FileTime.update(position, duration);
|
FileTime.update(position, duration);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("CMoviePlayerGui::PlayFile: speed %d position %d duration %d (%d, %d%%)\n", speed, position, duration, duration-position, file_prozent);
|
printf("CMoviePlayerGui::%s: spd %d pos %d/%d (%d, %d%%)\n", __func__, speed, position, duration, duration-position, file_prozent);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user