movieplayer.cpp: fix handle key play/pause for arm

This commit is contained in:
GetAway
2018-05-26 17:59:18 +02:00
parent 22eedad076
commit 714cca6ba6
2 changed files with 7 additions and 2 deletions

View File

@@ -1512,6 +1512,13 @@ void CMoviePlayerGui::PlayFileLoop(void)
// handle CRCInput::RC_playpause key
bool handle_key_play = true;
bool handle_key_pause = true;
if (g_settings.mpkey_play == g_settings.mpkey_pause)
{
if (playstate == CMoviePlayerGui::PLAY)
handle_key_play = false;
else if (playstate == CMoviePlayerGui::PAUSE)
handle_key_pause = false;
}
#if 0 //bisectional jumps
if (g_settings.mpkey_play == g_settings.mpkey_pause)