mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- movieplayer: fix -Wformat warning; Vol. 2
This commit is contained in:
@@ -1380,7 +1380,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
} else if (msg == (neutrino_msg_t) g_settings.key_quickzap_up || msg == (neutrino_msg_t) g_settings.key_quickzap_down) {
|
||||
quickZap(msg);
|
||||
} else if (fromInfoviewer && msg == CRCInput::RC_ok && !filelist.empty()) {
|
||||
printf("CMoviePlayerGui::%s: start playlist movie #%ld\n", __func__, vzap_it - filelist.begin());
|
||||
printf("CMoviePlayerGui::%s: start playlist movie #%d\n", __func__, (int)(vzap_it - filelist.begin()));
|
||||
fromInfoviewer = false;
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
filelist_it = vzap_it;
|
||||
@@ -1657,7 +1657,7 @@ void CMoviePlayerGui::PlayFileEnd(bool restore)
|
||||
|
||||
void CMoviePlayerGui::set_vzap_it(bool up)
|
||||
{
|
||||
//printf("CMoviePlayerGui::%s: vzap_it: %d count %s\n", __func__, vzap_it - filelist.begin(), up ? "up" : "down");
|
||||
//printf("CMoviePlayerGui::%s: vzap_it: %d count %s\n", __func__, (int)(vzap_it - filelist.begin()), up ? "up" : "down");
|
||||
if (up)
|
||||
{
|
||||
if (vzap_it < (filelist.end() - 1))
|
||||
@@ -1668,7 +1668,7 @@ void CMoviePlayerGui::set_vzap_it(bool up)
|
||||
if (vzap_it > filelist.begin())
|
||||
--vzap_it;
|
||||
}
|
||||
//printf("CMoviePlayerGui::%s: vzap_it: %d\n", __func__, vzap_it - filelist.begin());
|
||||
//printf("CMoviePlayerGui::%s: vzap_it: %d\n", __func__, (int)(vzap_it - filelist.begin()));
|
||||
}
|
||||
|
||||
void CMoviePlayerGui::callInfoViewer(bool init_vzap_it)
|
||||
|
Reference in New Issue
Block a user