vlc | branch: master | Frédéric Yhuel <[email protected]> | Tue Jun 19 16:56:30 2012 +0200| [9e155e37ed6186bf5cd8d3fb0c532a72b5e92d1f] | committer: Hugo Beauzée-Luyssen
HLS: minor fix It seems to me it makes more sense like that. Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e155e37ed6186bf5cd8d3fb0c532a72b5e92d1f --- modules/stream_filter/httplive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c index f8d56d8..77ae5f2 100644 --- a/modules/stream_filter/httplive.c +++ b/modules/stream_filter/httplive.c @@ -2154,11 +2154,11 @@ static ssize_t hls_Read(stream_t *s, uint8_t *p_read, unsigned int i_read) else segment_RestorePos(segment); - p_sys->playback.segment++; vlc_mutex_unlock(&segment->lock); /* signal download thread */ vlc_mutex_lock(&p_sys->download.lock_wait); + p_sys->playback.segment++; vlc_cond_signal(&p_sys->download.wait); vlc_mutex_unlock(&p_sys->download.lock_wait); continue; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
