namespace mp2t {
class EsParser;
+class TimestampUnroller;
class TsSectionPes : public TsSection {
public:
- explicit TsSectionPes(scoped_ptr<EsParser> es_parser);
+ TsSectionPes(scoped_ptr<EsParser> es_parser,
+ TimestampUnroller* timestamp_unroller);
virtual ~TsSectionPes();
// TsSection implementation.
bool wait_for_pusi_;
// Used to unroll PTS and DTS.
- bool previous_pts_valid_;
- int64 previous_pts_;
- bool previous_dts_valid_;
- int64 previous_dts_;
+ TimestampUnroller* const timestamp_unroller_;
DISALLOW_COPY_AND_ASSIGN(TsSectionPes);
};