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