[vlc-commits] demux:mkv: make the EOF status public
Steve Lhomme
git at videolan.org
Mon Jan 22 15:46:49 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jan 22 15:29:37 2018 +0100| [2594bb158e141e606e3a6a97d38d82cbff3ac36a] | committer: Steve Lhomme
demux:mkv: make the EOF status public
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2594bb158e141e606e3a6a97d38d82cbff3ac36a
---
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