[vlc-devel] [PATCH 15/48] hls: faster close
Hugo Beauzée-Luyssen
beauze.h at gmail.com
Mon Jan 9 16:16:24 CET 2012
From: Luc Saillard <luc.saillard at sfr.com>
---
modules/stream_filter/httplive.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 1039bbc..6569bd2 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -1687,7 +1687,8 @@ static void* hls_Reload(void *p_this)
* (mtime_t)1000000);
}
- mwait(p_sys->playlist.wakeup);
+ /* Allow to sleep by one second interval, to stop thread faster */
+ mwait(now + 1000000);
}
vlc_restorecancel(canc);
--
1.7.8.3
More information about the vlc-devel
mailing list