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

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-03 01:41:10 +01:00
parent 4f505d6188
commit 3d05eb2b52

View File

@@ -1940,7 +1940,10 @@ void CMoviePlayerGui::PlayFileLoop(void)
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 (msg != lastmsg)
bisection_jump /= 2;
}
else
bisection_jump = g_settings.movieplayer_bisection_jump * 60;