movieplayer: shorten debug messages

This commit is contained in:
Stefan Seyfried
2016-01-14 22:30:18 +01:00
committed by svenhoefer
parent 70b7f74362
commit 6757566be2

View File

@@ -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
} }
} }