mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
src/gui/movieplayer.cpp fix page up/down jump and stop play after merge
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8746340a87
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-03 (Fri, 03 Nov 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1735,7 +1735,8 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
g_Plugins->startPlugin_by_name(g_settings.movieplayer_plugin.c_str ());
|
||||
#if 0
|
||||
} else if ((msg == (neutrino_msg_t) g_settings.mpkey_stop) || msg == CRCInput::RC_home) {
|
||||
#endif } else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
||||
#endif
|
||||
} else if (msg == (neutrino_msg_t) g_settings.mpkey_stop) {
|
||||
playstate = CMoviePlayerGui::STOPPED;
|
||||
keyPressed = CMoviePlayerGui::PLUGIN_PLAYSTATE_STOP;
|
||||
ClearQueue();
|
||||
@@ -1973,12 +1974,13 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
SetPosition(duration/2, true);
|
||||
} else if (msg == CRCInput::RC_8) { // goto end
|
||||
SetPosition(duration - 60 * 1000, true);
|
||||
#if 0
|
||||
#if HAVE_COOL_HARDWARE
|
||||
} else if (msg == CRCInput::RC_page_up) {
|
||||
SetPosition(10 * 1000);
|
||||
} else if (msg == CRCInput::RC_page_down) {
|
||||
SetPosition(-10 * 1000);
|
||||
|
||||
#endif
|
||||
#if 0
|
||||
//- bisectional jumps
|
||||
} else if (msg == CRCInput::RC_page_up || msg == CRCInput::RC_page_down) {
|
||||
int direction = (msg == CRCInput::RC_page_up) ? 1 : -1;
|
||||
|
Reference in New Issue
Block a user