[vlc-commits] commit: stream_filter/httplive.c: use segment->sequence number in msg_* ( Jean-Paul Saman )

git at videolan.org git at videolan.org
Fri Dec 31 17:55:46 CET 2010


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Dec 31 11:51:58 2010 +0100| [31d95875ea7bd2144a1039b2a7fb3e38042b374a] | committer: Jean-Paul Saman 

stream_filter/httplive.c: use segment->sequence number in msg_*

Use the sequence number of the segment in msg_* instead of the array index.

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

 modules/stream_filter/httplive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index dea0a9b..4485002 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -1758,7 +1758,7 @@ static ssize_t hls_Read(stream_t *s, uint8_t *p_read, unsigned int i_read)
 
         if (segment->size == segment->data->i_buffer)
             msg_Info(s, "playing segment %d from stream %d",
-                        p_sys->playback.segment, p_sys->playback.current);
+                     segment->sequence, p_sys->playback.current);
 
         ssize_t len = -1;
         if (i_read <= segment->data->i_buffer)



More information about the vlc-commits mailing list