movieplayer: divide bisectional jumps in half only if direction is changed

Origin commit data
------------------
Commit: e018066d23
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)

Origin message was:
------------------
- movieplayer: divide bisectional jumps in half only if direction is changed
This commit is contained in:
vanhofen
2018-01-03 01:41:10 +01:00
parent 0e4dd3a5e1
commit ae9cbf88a5

View File

@@ -1940,7 +1940,10 @@ void CMoviePlayerGui::PlayFileLoop(void)
if (g_settings.movieplayer_bisection_jump) if (g_settings.movieplayer_bisection_jump)
{ {
if ((lastmsg == CRCInput::RC_page_up || lastmsg == CRCInput::RC_page_down) && (bisection_loop > -1 && bisection_loop <= bisection_loop_max)) if ((lastmsg == CRCInput::RC_page_up || lastmsg == CRCInput::RC_page_down) && (bisection_loop > -1 && bisection_loop <= bisection_loop_max))
bisection_jump /= 2; {
if (msg != lastmsg)
bisection_jump /= 2;
}
else else
bisection_jump = g_settings.movieplayer_bisection_jump * 60; bisection_jump = g_settings.movieplayer_bisection_jump * 60;