7 #ifndef MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
8 #define MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
10 #include "packager/media/file/file_closer.h"
11 #include "packager/media/formats/mp4/segmenter.h"
13 namespace edash_packager {
31 scoped_ptr<FileType> ftyp,
32 scoped_ptr<Movie> moov);
37 bool GetInitRange(
size_t* offset,
size_t* size)
override;
43 Status DoInitialize()
override;
44 Status DoFinalize()
override;
45 Status DoFinalizeSegment()
override;
47 scoped_ptr<SegmentIndex> vod_sidx_;
48 std::string temp_file_name_;
49 scoped_ptr<File, FileCloser> temp_file_;
58 #endif // MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_