| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/filters/frame_processor.h" | 5 #include "media/filters/frame_processor.h" |
| 6 | 6 |
| 7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
| 8 #include "media/base/buffers.h" | 8 #include "media/base/buffers.h" |
| 9 #include "media/base/stream_parser_buffer.h" | 9 #include "media/base/stream_parser_buffer.h" |
| 10 | 10 |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 group_end_timestamp_ = frame_end_timestamp; | 363 group_end_timestamp_ = frame_end_timestamp; |
| 364 DCHECK(group_end_timestamp_ >= base::TimeDelta()); | 364 DCHECK(group_end_timestamp_ >= base::TimeDelta()); |
| 365 | 365 |
| 366 return true; | 366 return true; |
| 367 } | 367 } |
| 368 | 368 |
| 369 NOTREACHED(); | 369 NOTREACHED(); |
| 370 return false; | 370 return false; |
| 371 } | 371 } |
| 372 | 372 |
| 373 void FrameProcessor::SetAllTrackBuffersNeedRandomAccessPoint() { | |
| 374 for (TrackBufferMap::iterator itr = track_buffers_.begin(); | |
| 375 itr != track_buffers_.end(); ++itr) { | |
| 376 itr->second->set_needs_random_access_point(true); | |
| 377 } | |
| 378 } | |
| 379 | |
| 380 } // namespace media | 373 } // namespace media |
| OLD | NEW |