mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user