[vlc-devel] [PATCH] es_out: prevent sending two cache event with value 1.0
Zhao Zhili
quinkblack at foxmail.com
Wed Nov 1 12:19:52 CET 2017
---
src/input/es_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 227f15f..c693981 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -648,7 +648,7 @@ static void EsOutDecodersStopBuffering( es_out_t
*out, bool b_forced )
i_preroll_duration +
p_sys->i_buffering_extra_stream - p_sys->i_buffering_extra_initial;
- if( i_stream_duration <= i_buffering_duration && !b_forced )
+ if( i_stream_duration < i_buffering_duration && !b_forced )
{
double f_level;
if (i_buffering_duration == 0)
--
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171101/fbae71c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-es_out-prevent-sending-two-cache-event-with-value-1..patch
Type: application/octet-stream
Size: 941 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171101/fbae71c8/attachment.obj>
More information about the vlc-devel
mailing list