[vlc-commits] RAM: deactivate start-time in rtsp streams

Jean-Baptiste Kempf git at videolan.org
Sat Apr 23 03:12:07 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Apr 23 02:47:13 2011 +0200| [ddcb92f027ea4bc6cdbb1d9ed657a0d35a61ab81] | 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=ddcb92f027ea4bc6cdbb1d9ed657a0d35a61ab81
---

 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 1f6e527..91f2da9 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