mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
movieplayer: fix invalid casts for debug messages
This commit is contained in:
@@ -664,7 +664,7 @@ bool CMoviePlayerGui::PlayBackgroundStart(const std::string &file, const std::st
|
||||
fprintf(stderr, "ERROR: pthread_create(%s)\n", __func__);
|
||||
} else
|
||||
PlayFileEnd();
|
||||
printf("%s: this %x started: res %d thread %x\n", __func__, (int) this, res, (int) CMoviePlayerGui::bgPlayThread);fflush(stdout);
|
||||
printf("%s: this %p started: res %d thread %p\n", __func__, this, res, CMoviePlayerGui::bgPlayThread);fflush(stdout);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -675,7 +675,7 @@ void CMoviePlayerGui::stopPlayBack(void)
|
||||
|
||||
repeat_mode = REPEAT_OFF;
|
||||
if (bgThread) {
|
||||
printf("%s: this %x join background thread %x\n", __func__, (int) this, (int) CMoviePlayerGui::bgPlayThread);fflush(stdout);
|
||||
printf("%s: this %p join background thread %p\n", __func__, this, CMoviePlayerGui::bgPlayThread);fflush(stdout);
|
||||
cond.broadcast();
|
||||
pthread_join(bgThread, NULL);
|
||||
bgThread = 0;
|
||||
@@ -1068,7 +1068,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
printf("CMoviePlayerGui::PlayFile: exit, isMovieBrowser %d p_movie_info %x\n", isMovieBrowser, (int) p_movie_info);
|
||||
printf("CMoviePlayerGui::PlayFile: exit, isMovieBrowser %d p_movie_info %p\n", isMovieBrowser, p_movie_info);
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
handleMovieBrowser((neutrino_msg_t) g_settings.mpkey_stop, position);
|
||||
if (position >= 300000 || (duration < 300000 && (position > (duration /2))))
|
||||
@@ -1085,7 +1085,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
|
||||
void CMoviePlayerGui::PlayFileEnd(bool restore)
|
||||
{
|
||||
printf("%s: stopping, this %x thread %x\n", __func__, (int) this, (int) CMoviePlayerGui::bgPlayThread);fflush(stdout);
|
||||
printf("%s: stopping, this %p thread %p\n", __func__, this, CMoviePlayerGui::bgPlayThread);fflush(stdout);
|
||||
if (filelist_it == filelist.end())
|
||||
FileTime.kill();
|
||||
clearSubtitle();
|
||||
|
Reference in New Issue
Block a user