mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +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) {
|
} else if (msg == (neutrino_msg_t) g_settings.key_quickzap_up || msg == (neutrino_msg_t) g_settings.key_quickzap_down) {
|
||||||
quickZap(msg);
|
quickZap(msg);
|
||||||
} else if (fromInfoviewer && msg == CRCInput::RC_ok && !filelist.empty()) {
|
} 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;
|
fromInfoviewer = false;
|
||||||
playstate = CMoviePlayerGui::STOPPED;
|
playstate = CMoviePlayerGui::STOPPED;
|
||||||
filelist_it = vzap_it;
|
filelist_it = vzap_it;
|
||||||
@@ -1657,7 +1657,7 @@ void CMoviePlayerGui::PlayFileEnd(bool restore)
|
|||||||
|
|
||||||
void CMoviePlayerGui::set_vzap_it(bool up)
|
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 (up)
|
||||||
{
|
{
|
||||||
if (vzap_it < (filelist.end() - 1))
|
if (vzap_it < (filelist.end() - 1))
|
||||||
@@ -1668,7 +1668,7 @@ void CMoviePlayerGui::set_vzap_it(bool up)
|
|||||||
if (vzap_it > filelist.begin())
|
if (vzap_it > filelist.begin())
|
||||||
--vzap_it;
|
--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)
|
void CMoviePlayerGui::callInfoViewer(bool init_vzap_it)
|
||||||
|
Reference in New Issue
Block a user