mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
movieplayer: don't stop playback with RC_home; it's confusing
Origin commit data
------------------
Commit: c3292a4919
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-07 (Tue, 07 Nov 2017)
Origin message was:
------------------
- movieplayer: don't stop playback with RC_home; it's confusing
This commit is contained in:
@@ -1796,7 +1796,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
|
||||
if (msg == (neutrino_msg_t) g_settings.mpkey_plugin) {
|
||||
g_Plugins->startPlugin_by_name(g_settings.movieplayer_plugin.c_str ());
|
||||
} else if ((msg == (neutrino_msg_t) g_settings.mpkey_stop) || msg == CRCInput::RC_home) { //NI
|
||||
} else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_STOP;
|
||||
ClearQueue();
|
||||
@@ -1871,11 +1871,6 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
g_videoSettings->next43Mode();
|
||||
} else if (msg == (neutrino_msg_t) g_settings.key_switchformat) {
|
||||
g_videoSettings->SwitchFormat();
|
||||
} else if (msg == (neutrino_msg_t) CRCInput::RC_home) {
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
playback->RequestAbort();
|
||||
filelist.clear();
|
||||
repeat_mode = REPEAT_OFF;
|
||||
} else if (msg == (neutrino_msg_t) g_settings.mpkey_play) {
|
||||
if (time_forced) {
|
||||
time_forced = false;
|
||||
@@ -2603,7 +2598,7 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/)
|
||||
newComHintBox.movePosition(newx, newy);
|
||||
return;
|
||||
}
|
||||
else if ((msg == (neutrino_msg_t) g_settings.mpkey_stop) || msg == CRCInput::RC_home) { //NI
|
||||
else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
||||
// if we have a movie information, try to save the stop position
|
||||
printf("CMoviePlayerGui::handleMovieBrowser: stop, isMovieBrowser %d p_movie_info %p\n", isMovieBrowser, p_movie_info);
|
||||
if (isMovieBrowser && p_movie_info) {
|
||||
|
Reference in New Issue
Block a user