From: Sébastien Escudier Date: Wed, 18 Nov 2009 08:08:16 +0000 (+0100) Subject: live555 : send the scale again after a pause. It avoids to fallback to 1.0 speed... X-Git-Tag: 1.1.0-ff~169 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b0b1fe56a7a69f58c00af5d98ce133fef39e90f8;p=vlc 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: Rémi Denis-Courmont --- diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index c733efe562..18c0149379 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -1428,7 +1428,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) return VLC_SUCCESS; if( ( b_pause && !p_sys->rtsp->pauseMediaSession( *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() ); return VLC_EGENERIC;