Chromium Code Reviews| Index: media/formats/mp2t/es_parser_h264.h |
| diff --git a/media/formats/mp2t/es_parser_h264.h b/media/formats/mp2t/es_parser_h264.h |
| index bf4f4cc1d9cda586f9e82ceaff509c3868c047b0..8cbfb872a119266dc53e13960555ac1043bb9af8 100644 |
| --- a/media/formats/mp2t/es_parser_h264.h |
| +++ b/media/formats/mp2t/es_parser_h264.h |
| @@ -80,6 +80,9 @@ class MEDIA_EXPORT EsParserH264 : NON_EXPORTED_BASE(public EsParser) { |
| scoped_ptr<media::OffsetByteQueue> es_queue_; |
| std::list<std::pair<int64, TimingDesc> > timing_desc_list_; |
| + // Duration of the last emitted frame. |
| + base::TimeDelta last_frame_duration_; |
|
acolwell GONE FROM CHROMIUM
2014/07/03 00:50:58
Remove? This doesn't appear to be used anywhere.
|
| + |
| // H264 parser state. |
| // - |current_access_unit_pos_| is pointing to an annexB syncword |
| // representing the first NALU of an H264 access unit. |
| @@ -89,6 +92,11 @@ class MEDIA_EXPORT EsParserH264 : NON_EXPORTED_BASE(public EsParser) { |
| // Last video decoder config. |
| VideoDecoderConfig last_video_decoder_config_; |
| + |
| + // History of frame PTS. |
| + std::list<base::TimeDelta> frame_pts_history_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(EsParserH264); |
| }; |
| } // namespace mp2t |