[vlc-commits] demux: adaptive: skip non critical buffer streams
Francois Cartegnie
git at videolan.org
Wed Sep 21 18:52:32 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Sep 21 18:44:05 2016 +0200| [a2f8c97c19cee150a29500859a30800e09b0a2fd] | committer: Francois Cartegnie
demux: adaptive: skip non critical buffer streams
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2f8c97c19cee150a29500859a30800e09b0a2fd
---
modules/demux/adaptive/PlaylistManager.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/demux/adaptive/PlaylistManager.cpp b/modules/demux/adaptive/PlaylistManager.cpp
index 8aaf36e..001b033 100644
--- a/modules/demux/adaptive/PlaylistManager.cpp
+++ b/modules/demux/adaptive/PlaylistManager.cpp
@@ -218,6 +218,10 @@ AbstractStream::buffering_status PlaylistManager::bufferize(mtime_t i_nzdeadline
if(i_ret > i_return)
i_return = i_ret;
}
+
+ /* Bail out, will start again (high prio could be same starving stream) */
+ if( i_return == AbstractStream::buffering_lessthanmin )
+ break;
}
vlc_mutex_lock(&demux.lock);
More information about the vlc-commits
mailing list