Commit 3b3d936f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix RateCallback

parent e87dd9f0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment