| Index: media/filters/frame_processor.cc
|
| diff --git a/media/filters/frame_processor.cc b/media/filters/frame_processor.cc
|
| index dae8577e8f6c9f0b913982c9be0d812d3a9345d7..ee49ba38bfe84a78eacd1ed780a175e7473db585 100644
|
| --- a/media/filters/frame_processor.cc
|
| +++ b/media/filters/frame_processor.cc
|
| @@ -598,12 +598,6 @@ bool FrameProcessor::ProcessFrame(
|
| HandlePartialAppendWindowTrimming(append_window_start,
|
| append_window_end,
|
| frame)) {
|
| - // If |frame| was front-trimmed a discontinuity may exist, so treat the
|
| - // next frames appended as if they were the beginning of a new media
|
| - // segment.
|
| - if (frame->timestamp() != presentation_timestamp && !sequence_mode_)
|
| - *new_media_segment = true;
|
| -
|
| // |frame| has been partially trimmed or had preroll added. Though
|
| // |frame|'s duration may have changed, do not update |frame_duration|
|
| // here, so |track_buffer|'s last frame duration update uses original
|
|
|