[vlc-commits] demux:mkv: make the EOF status public

Steve Lhomme git at videolan.org
Wed Jan 24 08:46:30 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jan 22 15:29:37 2018 +0100| [16594b24982489ed3a0c2fb7ab8b17cb654173af] | committer: Jean-Baptiste Kempf

demux:mkv: make the EOF status public

(cherry picked from commit 2594bb158e141e606e3a6a97d38d82cbff3ac36a)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=16594b24982489ed3a0c2fb7ab8b17cb654173af
---

 modules/demux/mkv/stream_io_callback.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/mkv/stream_io_callback.hpp b/modules/demux/mkv/stream_io_callback.hpp
index 19a92a645e..6b9c442c6d 100644
--- a/modules/demux/mkv/stream_io_callback.hpp
+++ b/modules/demux/mkv/stream_io_callback.hpp
@@ -42,6 +42,8 @@ class vlc_stream_io_callback: public IOCallback
             vlc_stream_Delete( s );
     }
 
+    bool IsEOF() const { return mb_eof; }
+
     virtual uint32   read            ( void *p_buffer, size_t i_size);
     virtual void     setFilePointer  ( int64_t i_offset, seek_mode mode = seek_beginning );
     virtual size_t   write           ( const void *p_buffer, size_t i_size);



More information about the vlc-commits mailing list