vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jun 11 11:37:49 2018 +0200| [771af133f0a31301598da3feba93bc058fcd1962] | committer: Steve Lhomme
demux:adaptive: replace hardcoded sleep value with TICKS value > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=771af133f0a31301598da3feba93bc058fcd1962 --- modules/demux/adaptive/PlaylistManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/adaptive/PlaylistManager.cpp b/modules/demux/adaptive/PlaylistManager.cpp index a8b2d7afb8..881388f143 100644 --- a/modules/demux/adaptive/PlaylistManager.cpp +++ b/modules/demux/adaptive/PlaylistManager.cpp @@ -300,7 +300,7 @@ void PlaylistManager::drain() if(b_drained) break; - vlc_tick_sleep(20*1000); /* ugly, but we have no way to get feedback */ + vlc_tick_sleep(VLC_TICK_FROM_MS(20)); /* ugly, but we have no way to get feedback */ } es_out_Control(p_demux->out, ES_OUT_RESET_PCR); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
