[vlc-commits] demux: adaptive: add cancelation point while buffering
Francois Cartegnie
git at videolan.org
Fri Jul 28 10:00:17 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 27 16:03:11 2017 +0200| [acd8c161b8885db282fe4d6a9d8b41d79f81102d] | committer: Francois Cartegnie
demux: adaptive: add cancelation point while buffering
refs #18612
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=acd8c161b8885db282fe4d6a9d8b41d79f81102d
---
modules/demux/adaptive/PlaylistManager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/adaptive/PlaylistManager.cpp b/modules/demux/adaptive/PlaylistManager.cpp
index f560d0f72f..771fdfa2e1 100644
--- a/modules/demux/adaptive/PlaylistManager.cpp
+++ b/modules/demux/adaptive/PlaylistManager.cpp
@@ -629,6 +629,7 @@ void PlaylistManager::Run()
mutex_cleanup_push(&lock);
while(!b_buffering)
vlc_cond_wait(&waitcond, &lock);
+ vlc_testcancel();
vlc_cleanup_pop();
if(needsUpdate())
More information about the vlc-commits
mailing list