5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
10 #include "packager/base/compiler_specific.h"
11 #include "packager/base/memory/scoped_ptr.h"
12 #include "packager/media/base/byte_queue.h"
13 #include "packager/media/formats/mp2t/ts_section.h"
15 namespace edash_packager {
27 virtual bool Parse(
bool payload_unit_start_indicator,
30 virtual void Flush() OVERRIDE;
31 virtual void Reset() OVERRIDE;
38 bool Emit(
bool emit_for_unknown_size);
41 bool ParseInternal(
const uint8_t* raw_pes,
int raw_pes_size);
49 scoped_ptr<EsParser> es_parser_;
55 bool previous_pts_valid_;
56 int64_t previous_pts_;
57 bool previous_dts_valid_;
58 int64_t previous_dts_;