[vlc-devel] commit: (live555) get correct length of RTSP stream on RollOverTCP. ( Jean-Paul Saman )
git version control
git at videolan.org
Mon Nov 24 15:06:38 CET 2008
vlc | branch: 0.8.6-bugfix | Jean-Paul Saman <jpsaman at videolan.org> | Sun Nov 23 16:50:45 2008 +0100| [a247c5f86034442ce45b072b4bdae8d2458f984b] | committer: Jean-Paul Saman
(live555) get correct length of RTSP stream on RollOverTCP.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a247c5f86034442ce45b072b4bdae8d2458f984b
---
modules/demux/live555.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 03286d5..69e6361 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1418,15 +1418,15 @@ static int RollOverTcp( demux_t *p_demux )
goto error;
}
+ i_return = Play( p_demux );
+ if( i_return != VLC_SUCCESS )
+ goto error;
+
/* Retrieve the duration if possible */
p_sys->i_length = (int64_t)( p_sys->ms->playEndTime() * 1000000.0 );
if( p_sys->i_length < 0 )
p_sys->i_length = -1;
- i_return = Play( p_demux );
- if( i_return != VLC_SUCCESS )
- goto error;
-
/* Update all tracks */
iter = new MediaSubsessionIterator( *p_sys->ms );
i_tk = 0;
More information about the vlc-devel
mailing list