From b0b1fe56a7a69f58c00af5d98ce133fef39e90f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Escudier?= Date: Wed, 18 Nov 2009 09:08:16 +0100 Subject: [PATCH] live555 : send the scale again after a pause. It avoids to fallback to 1.0 speed when we unpause a RTSP stream. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont --- modules/demux/live555.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2