7 #ifndef MEDIA_FORMATS_WEBM_MKV_WRITER_H_
8 #define MEDIA_FORMATS_WEBM_MKV_WRITER_H_
12 #include "packager/base/memory/scoped_ptr.h"
13 #include "packager/media/base/status.h"
14 #include "packager/media/file/file_closer.h"
15 #include "packager/third_party/libwebm/src/mkvmuxer.hpp"
36 mkvmuxer::int32
Write(
const void* buf, mkvmuxer::uint32 len)
override;
39 mkvmuxer::int64
Position()
const override;
42 mkvmuxer::int32
Position(mkvmuxer::int64 position)
override;
51 mkvmuxer::int64 position)
override;
61 File* file() {
return file_.get(); }
64 scoped_ptr<File, FileCloser> file_;
66 mkvmuxer::int64 position_;
75 #endif // MEDIA_FORMATS_WEBM_MKV_WRITER_H_