[vlc-commits] input: remove antilogies
Rémi Denis-Courmont
git at videolan.org
Fri Nov 14 18:37:34 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Nov 14 19:37:17 2014 +0200| [aa9f445315abb143262567ea738ec32bae6d34a8] | committer: Rémi Denis-Courmont
input: remove antilogies
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aa9f445315abb143262567ea738ec32bae6d34a8
---
src/input/input.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 8b96803..6d64cdb 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1657,8 +1657,6 @@ static bool Control( input_thread_t *p_input,
}
float f_pos = val.f_float;
- if( i_type != INPUT_CONTROL_SET_POSITION )
- f_pos += var_GetFloat( p_input, "position" );
if( f_pos < 0.f )
f_pos = 0.f;
else if( f_pos > 1.f )
@@ -1694,9 +1692,6 @@ static bool Control( input_thread_t *p_input,
}
i_time = val.i_time;
- if( i_type != INPUT_CONTROL_SET_TIME )
- i_time += var_GetTime( p_input, "time" );
-
if( i_time < 0 )
i_time = 0;
More information about the vlc-commits
mailing list