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 virtual bool GetInitRange(
size_t* offset,
size_t* size) OVERRIDE;
38 virtual bool GetIndexRange(
size_t* offset,
size_t* size) OVERRIDE;
43 virtual Status DoInitialize() OVERRIDE;
44 virtual Status DoFinalize() OVERRIDE;
45 virtual 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_