[vlc-commits] demux: adaptive: clear eof flag after new demuxer create

Zhao Zhili git at videolan.org
Wed Oct 25 13:03:57 CEST 2017


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Tue Oct 24 00:13:43 2017 +0800| [6843506526fe20a336f508099485d378888d429d] | committer: Francois Cartegnie

demux: adaptive: clear eof flag after new demuxer create

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6843506526fe20a336f508099485d378888d429d
---

 modules/demux/adaptive/plumbing/Demuxer.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/demux/adaptive/plumbing/Demuxer.cpp b/modules/demux/adaptive/plumbing/Demuxer.cpp
index bd8db3b387..3fe9921266 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.cpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.cpp
@@ -101,6 +101,11 @@ bool Demuxer::create()
         b_eof = true;
         return false;
     }
+    else
+    {
+        b_eof = false;
+    }
+
     return true;
 }
 



More information about the vlc-commits mailing list