[vlc-devel] commit: (live555) Fix seeking (Jean-Paul Saman )

git version control git at videolan.org
Fri Nov 21 15:35:41 CET 2008


vlc | branch: 0.9-bugfix | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Nov 21 15:32:57 2008 +0100| [36e06224b0d29631f42708fb91e0a75dc562efc6] | committer: Jean-Paul Saman 

(live555) Fix seeking

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

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

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index b04a45b..60fe2df 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1276,14 +1276,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
 
                 /* Retrieve the starttime if possible */
                 p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
-                if( p_sys->i_npt_start < 0 )
-                    p_sys->i_npt_start = -1;
-                else p_sys->i_npt = p_sys->i_npt_start;
 
                 /* Retrieve the duration if possible */
                 p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
-                if( p_sys->i_npt_length < 0 )
-                    p_sys->i_npt_length = -1;
 
                 msg_Dbg( p_demux, "seek start: %lld stop:%lld", p_sys->i_npt_start, p_sys->i_npt_length );
                 return VLC_SUCCESS;




More information about the vlc-devel mailing list