[vlc-commits] demux: adaptative: avoid 1st segment loop on dead demux
Francois Cartegnie
git at videolan.org
Tue Sep 22 00:38:49 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Sep 12 23:03:03 2015 +0200| [3804e8f09d94b56da187befc86960337fcada862] | committer: Francois Cartegnie
demux: adaptative: avoid 1st segment loop on dead demux
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3804e8f09d94b56da187befc86960337fcada862
---
modules/demux/adaptative/Streams.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptative/Streams.cpp b/modules/demux/adaptative/Streams.cpp
index 3008f48..8885677 100644
--- a/modules/demux/adaptative/Streams.cpp
+++ b/modules/demux/adaptative/Streams.cpp
@@ -132,7 +132,7 @@ bool Stream::operator ==(const Stream &stream) const
SegmentChunk * Stream::getChunk()
{
- if (currentChunk == NULL && output)
+ if (currentChunk == NULL && output && !eof)
{
if(esCount() && !isSelected())
{
More information about the vlc-commits
mailing list