[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:54 CEST 2010


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

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

(cherry picked from commit 68c78698a5e97cdf0c7e66960bb26d81f48eacb2)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=0c6994a9d280a26ebdeb3df6b87fda95626fe3d0
---

 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 386040e..1e89dfb 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -1077,7 +1077,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