Commit ba75d522 authored by Laurent Aimar's avatar Laurent Aimar

Fixed system clock phase when changing rate.

parent a996e2ca
......@@ -268,7 +268,10 @@ void input_clock_ChangeRate( input_clock_t *cl, int i_rate )
/* Move the reference point */
if( cl->b_has_reference )
{
cl->last.i_system = ClockStreamToSystem( cl, cl->last.i_stream );
cl->ref = cl->last;
}
cl->i_rate = i_rate;
......
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