Commit b0b1fe56 authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Rémi Denis-Courmont

live555 : send the scale again after a pause. It avoids to fallback to 1.0...

live555 : send the scale again after a pause. It avoids to fallback to 1.0 speed when we unpause a RTSP stream.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 889d5548
...@@ -1428,7 +1428,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1428,7 +1428,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return VLC_SUCCESS; return VLC_SUCCESS;
if( ( b_pause && !p_sys->rtsp->pauseMediaSession( *p_sys->ms ) ) || if( ( b_pause && !p_sys->rtsp->pauseMediaSession( *p_sys->ms ) ) ||
( !b_pause && !p_sys->rtsp->playMediaSession( *p_sys->ms, ( !b_pause && !p_sys->rtsp->playMediaSession( *p_sys->ms,
p_sys->f_seek_request ) ) ) p_sys->f_seek_request, -1.0f, p_sys->ms->scale() ) ) )
{ {
msg_Err( p_demux, "PLAY or PAUSE failed %s", p_sys->env->getResultMsg() ); msg_Err( p_demux, "PLAY or PAUSE failed %s", p_sys->env->getResultMsg() );
return VLC_EGENERIC; return VLC_EGENERIC;
......
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