[vlc-commits] demux: adaptive: fix thread buffered chunks reads
Francois Cartegnie
git at videolan.org
Thu May 12 16:23:39 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 12 16:20:30 2016 +0200| [ab02be2bc9dbd9eb2568eb117fd2fe34bb269954] | committer: Francois Cartegnie
demux: adaptive: fix thread buffered chunks reads
regression
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab02be2bc9dbd9eb2568eb117fd2fe34bb269954
---
modules/demux/adaptive/http/Chunk.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/demux/adaptive/http/Chunk.cpp b/modules/demux/adaptive/http/Chunk.cpp
index f055125..fa4eb10 100644
--- a/modules/demux/adaptive/http/Chunk.cpp
+++ b/modules/demux/adaptive/http/Chunk.cpp
@@ -303,7 +303,6 @@ void HTTPChunkBufferedSource::bufferize(size_t readsize)
block_Release(p_block);
vlc_mutex_lock(&lock);
done = true;
- eof = true;
rate.size = buffered + consumed;
rate.time = mdate() - downloadstart;
downloadstart = 0;
@@ -318,7 +317,6 @@ void HTTPChunkBufferedSource::bufferize(size_t readsize)
if((size_t) ret < readsize)
{
done = true;
- eof = true;
rate.size = buffered + consumed;
rate.time = mdate() - downloadstart;
downloadstart = 0;
More information about the vlc-commits
mailing list