[vlc-commits] demux:adaptive: replace hardcoded sleep value with TICKS value
Steve Lhomme
git at videolan.org
Fri Jul 6 09:20:37 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | 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);
}
More information about the vlc-commits
mailing list