<div dir="ltr">Ping...<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 28, 2017 at 4:49 PM, Zhao Zhili <span dir="ltr"><<a href="mailto:wantlamy@gmail.com" target="_blank">wantlamy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">---<br> modules/demux/adaptive/<wbr>PlaylistManager.cpp | 8 ++++----<br> 1 file changed, 4 insertions(+), 4 deletions(-)<br><br>diff --git a/modules/demux/adaptive/<wbr>PlaylistManager.cpp b/modules/demux/adaptive/<wbr>PlaylistManager.cpp<br>index 771fdfa..39b2ec8 100644<br>--- a/modules/demux/adaptive/<wbr>PlaylistManager.cpp<br>+++ b/modules/demux/adaptive/<wbr>PlaylistManager.cpp<br>@@ -614,8 +614,7 @@ void PlaylistManager::<wbr>setBufferingRunState(bool b)<br> {<br>     vlc_mutex_lock(&lock);<br>     b_buffering = b;<br>-    if(b_buffering)<br>-        vlc_cond_signal(&waitcond);<br>+    vlc_cond_signal(&waitcond);<br>     vlc_mutex_unlock(&lock);<br> }<br> <br>@@ -665,8 +664,9 @@ void PlaylistManager::Run()<br>             vlc_mutex_unlock(&demux.lock);<br> <br>             mutex_cleanup_push(&lock);<br>-            while(vlc_cond_timedwait(&<wbr>waitcond, &lock, i_deadline) == 0<br>-                 && i_deadline < mdate());<br>+            while(b_buffering &&<br>+                    vlc_cond_timedwait(&waitcond, &lock, i_deadline) == 0 &&<br>+                    i_deadline > mdate());<br>             vlc_cleanup_pop();<br>         }<br>     }<span class="HOEnZb"><font color="#888888"><br>-- <br>2.7.4<br><br></font></span></div>
</blockquote></div><br></div></div></div>