[vlc-commits] stream_filter: smooth: live mode must download all incoming chunks
Francois Cartegnie
git at videolan.org
Wed Oct 29 11:48:47 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 29 11:46:31 2014 +0100| [3dcc5292dc2518de151ef6c73ccfdc3068323bbb] | committer: Francois Cartegnie
stream_filter: smooth: live mode must download all incoming chunks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3dcc5292dc2518de151ef6c73ccfdc3068323bbb
---
modules/stream_filter/smooth/downloader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_filter/smooth/downloader.c b/modules/stream_filter/smooth/downloader.c
index 12b1150..25c8ebf 100644
--- a/modules/stream_filter/smooth/downloader.c
+++ b/modules/stream_filter/smooth/downloader.c
@@ -708,7 +708,7 @@ void* sms_Thread( void *p_this )
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 );
lead = get_lead( s );
More information about the vlc-commits
mailing list