Chromium Code Reviews| Index: media/filters/frame_processor.cc |
| diff --git a/media/filters/frame_processor.cc b/media/filters/frame_processor.cc |
| index 8fb25c34e6c3f7fbc9c1ecd55f64f803badcc911..bf0b2a5c4a4d20e3ea04d46f7360f6a62845a2ec 100644 |
| --- a/media/filters/frame_processor.cc |
| +++ b/media/filters/frame_processor.cc |
| @@ -381,7 +381,8 @@ bool FrameProcessor::ProcessFrame( |
| << ", TrackID=" << frame->track_id() |
| << ", PTS=" << presentation_timestamp.InSecondsF() |
| << ", DTS=" << decode_timestamp.InSecondsF() |
| - << ", DUR=" << frame_duration.InSecondsF(); |
| + << ", DUR=" << frame_duration.InSecondsF() |
| + << ", RAP=" << frame->IsKeyframe(); |
| // Sanity check the timestamps. |
| if (presentation_timestamp == kNoTimestamp()) { |
| @@ -553,14 +554,6 @@ bool FrameProcessor::ProcessFrame( |
| frame_end_timestamp > append_window_end) { |
| track_buffer->set_needs_random_access_point(true); |
| DVLOG(3) << "Dropping frame that is outside append window."; |
| - |
| - if (!sequence_mode_) { |
|
acolwell GONE FROM CHROMIUM
2014/07/08 16:32:00
This was causing broken behavior in ChunkDemuxerTe
wolenetz
2014/07/08 19:33:53
Ok. If enough frames are dropped such that a disco
acolwell GONE FROM CHROMIUM
2014/07/08 22:00:38
Yes. I believe that is the proper place for it. I
|
| - // This also triggers a discontinuity so we need to treat the next |
| - // frames appended within the append window as if they were the |
| - // beginning of a new segment. |
| - *new_media_segment = true; |
| - } |
| - |
| return true; |
| } |