Commit e063c7bb authored by Jean-Paul Saman's avatar Jean-Paul Saman

(live555) Reset PCR after returning to normal rate after fastforward or rewind.

parent db41a5c2
......@@ -1370,6 +1370,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys->i_pcr = 0;
p_sys->i_npt = 0.0;
es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
*pi_int = (int)( INPUT_RATE_DEFAULT / p_sys->ms->scale() );
msg_Dbg( p_demux, "PLAY with new Scale %0.2f (%d)", p_sys->ms->scale(), (*pi_int) );
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