Commit 4cb95a42 authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: adapt debug logging

Move logging of current segment and stream. The previous place gave
confusing information.
parent 0c7c4caa
......@@ -1309,12 +1309,14 @@ static ssize_t hls_Read(stream_t *s, uint8_t *p_read, unsigned int i_read)
segment->data = NULL;
}
p_sys->segment++;
msg_Info(s, "playing segment %d from stream %d",
p_sys->segment, p_sys->current);
vlc_mutex_unlock(&segment->lock);
continue;
}
if (segment->size == segment->data->i_buffer)
msg_Info(s, "playing segment %d from stream %d",
p_sys->segment, p_sys->current);
ssize_t len = -1;
if (i_read <= segment->data->i_buffer)
len = i_read;
......
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