movieplayer: make bisection jump period configurable

Origin commit data
------------------
Branch: ni/coolstream
Commit: 69e5cb286c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-16 (Tue, 16 May 2017)

Origin message was:
------------------
- movieplayer: make bisection jump period configurable

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-05-16 15:26:20 +02:00
parent 8bf073a7cd
commit 4c2826f420
3 changed files with 7 additions and 6 deletions

View File

@@ -1353,7 +1353,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
neutrino_msg_t lastmsg = 0; //NI
//NI - bisectional jumps
int bisection_jump = 300;
int bisection_jump = g_settings.movieplayer_bisection_jump * 60;
int bisection_loop = -1;
int bisection_loop_max = 5;
@@ -1639,7 +1639,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
if ((lastmsg == CRCInput::RC_page_up || lastmsg == CRCInput::RC_page_down) && (bisection_loop > -1 && bisection_loop <= bisection_loop_max))
bisection_jump /= 2;
else
bisection_jump = 300;
bisection_jump = g_settings.movieplayer_bisection_jump * 60;
bisection_loop = 0;
jump = bisection_jump;