[vlc-devel] commit: live555 : send the scale again after a pause. It avoids to fallback to 1.0 speed when we unpause a RTSP stream. ( Sébastien Escudier )

git version control git at videolan.org
Thu Feb 11 16:12:14 CET 2010


vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Wed Nov 18 09:08:16 2009 +0100| [b0b1fe56a7a69f58c00af5d98ce133fef39e90f8] | committer: Rémi Denis-Courmont 

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 <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0b1fe56a7a69f58c00af5d98ce133fef39e90f8
---

 modules/demux/live555.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index c733efe..18c0149 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;




More information about the vlc-devel mailing list