Commit 31d95875 authored by Jean-Paul Saman's avatar 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.
parent fa540df2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment