[vlc-commits] commit: Old RC: "rate" is a float nowadays (fix #4088) ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Mon Aug 9 20:25:25 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug  9 21:25:01 2010 +0300| [68c78698a5e97cdf0c7e66960bb26d81f48eacb2] | committer: Rémi Denis-Courmont 

Old RC: "rate" is a float nowadays (fix #4088)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68c78698a5e97cdf0c7e66960bb26d81f48eacb2
---

 modules/control/rc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 7bc032d..dbab111 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -1076,7 +1076,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
     }
     else if ( !strcmp( psz_cmd, "normal" ) )
     {
-        var_SetInteger( p_input, "rate", INPUT_RATE_DEFAULT );
+        var_SetFloat( p_input, "rate", 1. );
         i_error = VLC_SUCCESS;
     }
     else if ( !strcmp( psz_cmd, "frame" ) )



More information about the vlc-commits mailing list