[vlc-devel] commit: Fix RateCallback ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Nov 23 18:06:44 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 23 19:06:31 2009 +0200| [3b3d936f80488dee8b64f4136cd369462fe8b89f] | committer: Rémi Denis-Courmont
Fix RateCallback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b3d936f80488dee8b64f4136cd369462fe8b89f
---
src/input/var.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/var.c b/src/input/var.c
index bc5e47b..f2f75ab 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -574,7 +574,7 @@ static int RateCallback( vlc_object_t *p_this, char const *psz_cmd,
}
else
{
- int i_rate = INPUT_RATE_DEFAULT / newval.f_float;
+ newval.i_int = INPUT_RATE_DEFAULT / newval.f_float;
input_ControlPush( p_input, INPUT_CONTROL_SET_RATE, &newval );
}
return VLC_SUCCESS;
More information about the vlc-devel
mailing list