[vlc-commits] RAM: deactivate start-time in rtsp streams
Jean-Baptiste Kempf
git at videolan.org
Sat Apr 23 02:48:36 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Apr 23 02:47:13 2011 +0200| [92a1a249cb0c04fa2c85a3a6094ad081e4ef5eda] | committer: Jean-Baptiste Kempf
RAM: deactivate start-time in rtsp streams
Our seeking of rm over real-rtsp doesn't work.
Closes #4701 (work-around, in fact)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92a1a249cb0c04fa2c85a3a6094ad081e4ef5eda
---
modules/demux/playlist/ram.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/demux/playlist/ram.c b/modules/demux/playlist/ram.c
index cc2af9b..f189522 100644
--- a/modules/demux/playlist/ram.c
+++ b/modules/demux/playlist/ram.c
@@ -287,7 +287,8 @@ static int Demux( demux_t *p_demux )
psz_author = decode_URI_duplicate(psz_value);
EnsureUTF8( psz_author );
}
- else if( !strcmp( psz_param, "start" ) )
+ else if( !strcmp( psz_param, "start" )
+ && strncmp( psz_mrl, "rtsp", 4 ) /* Our rtsp-real or our real demuxer is wrong */ )
{
i_start = ParseTime( psz_value, strlen( psz_value ) );
char *temp;
More information about the vlc-commits
mailing list