[vlc-devel] commit: live555: fix PLAY starttime. (Derk-Jan Hartman )

git version control git at videolan.org
Mon Sep 22 16:13:17 CEST 2008


vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Mon Sep 22 16:15:40 2008 +0200| [a084cc758a4e48df2d3d9d71c35ab848ec23893b] | committer: Derk-Jan Hartman 

live555: fix PLAY starttime.

This is a semi backport of [a567bae65f5df341849daf26e526318425297490]. This changes less lines, so i feel a bit more at easy to backport it like this and not the original.

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

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

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index aeba245..0bada8a 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/r*****************************************************************************
  * live555.cpp : LIVE555 Streaming Media support.
  *****************************************************************************
  * Copyright (C) 2003-2007 the VideoLAN team
@@ -1033,7 +1033,7 @@ static int Play( demux_t *p_demux )
     if( p_sys->rtsp )
     {
         /* The PLAY */
-        if( !p_sys->rtsp->playMediaSession( *p_sys->ms, p_sys->i_npt_start, -1, 1 ) )
+        if( !p_sys->rtsp->playMediaSession( *p_sys->ms, p_sys->i_npt_start / (double)1000000.0 , -1, 1 ) )
         {
             msg_Err( p_demux, "RTSP PLAY failed %s", p_sys->env->getResultMsg() );
             return VLC_EGENERIC;




More information about the vlc-devel mailing list