Commit 3dcc5292 authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: smooth: live mode must download all incoming chunks

parent 1f28f66e
...@@ -708,7 +708,7 @@ void* sms_Thread( void *p_this ) ...@@ -708,7 +708,7 @@ void* sms_Thread( void *p_this )
i_pts_delay = 10 * p_sys->timescale + start_time; i_pts_delay = 10 * p_sys->timescale + start_time;
} }
while( lead > (uint64_t) i_pts_delay || NO_MORE_CHUNKS ) while( !p_sys->b_live && ( lead > (uint64_t) i_pts_delay || NO_MORE_CHUNKS ) )
{ {
vlc_cond_wait( &p_sys->download.wait, &p_sys->download.lock_wait ); vlc_cond_wait( &p_sys->download.wait, &p_sys->download.lock_wait );
lead = get_lead( s ); lead = get_lead( s );
......
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