| Index: media/formats/mp2t/mp2t_stream_parser.h
|
| diff --git a/media/formats/mp2t/mp2t_stream_parser.h b/media/formats/mp2t/mp2t_stream_parser.h
|
| index 61f344067ea64aa8fd7465751e0191181b755368..e419f029ae54d44f1f3a3060aa969e921b45536c 100644
|
| --- a/media/formats/mp2t/mp2t_stream_parser.h
|
| +++ b/media/formats/mp2t/mp2t_stream_parser.h
|
| @@ -92,12 +92,6 @@ class MEDIA_EXPORT Mp2tStreamParser : public StreamParser {
|
| scoped_refptr<StreamParserBuffer> stream_parser_buffer);
|
| bool EmitRemainingBuffers();
|
|
|
| - // At the beginning of a new segment, some video frames might be discarded.
|
| - // This function fills the hole by duplicating the first valid key frame
|
| - // given by |stream_parser_buffer|.
|
| - void FillVideoGap(
|
| - const scoped_refptr<StreamParserBuffer>& stream_parser_buffer);
|
| -
|
| // List of callbacks.
|
| InitCB init_cb_;
|
| NewConfigCB config_cb_;
|
| @@ -121,11 +115,6 @@ class MEDIA_EXPORT Mp2tStreamParser : public StreamParser {
|
| int selected_audio_pid_;
|
| int selected_video_pid_;
|
|
|
| - // DTS of discarded buffers.
|
| - // Min PTS of discarded buffers.
|
| - std::list<base::TimeDelta> discarded_frames_dts_;
|
| - base::TimeDelta discarded_frames_min_pts_;
|
| -
|
| // Pending audio & video buffers.
|
| std::list<BufferQueueWithConfig> buffer_queue_chain_;
|
|
|
| @@ -134,7 +123,6 @@ class MEDIA_EXPORT Mp2tStreamParser : public StreamParser {
|
|
|
| // Indicate whether a segment was started.
|
| bool segment_started_;
|
| - bool first_video_frame_in_segment_;
|
| base::TimeDelta time_offset_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Mp2tStreamParser);
|
|
|