| 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 <stdint.h> |
| 8 |
| 7 #include <cstdlib> | 9 #include <cstdlib> |
| 8 | 10 |
| 11 #include "base/macros.h" |
| 9 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 10 #include "media/base/stream_parser_buffer.h" | 13 #include "media/base/stream_parser_buffer.h" |
| 11 #include "media/base/timestamp_constants.h" | 14 #include "media/base/timestamp_constants.h" |
| 12 | 15 |
| 13 namespace media { | 16 namespace media { |
| 14 | 17 |
| 15 const int kMaxDroppedPrerollWarnings = 10; | 18 const int kMaxDroppedPrerollWarnings = 10; |
| 16 const int kMaxDtsBeyondPtsWarnings = 10; | 19 const int kMaxDtsBeyondPtsWarnings = 10; |
| 17 | 20 |
| 18 // Helper class to capture per-track details needed by a frame processor. Some | 21 // Helper class to capture per-track details needed by a frame processor. Some |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 DCHECK(group_end_timestamp_ >= base::TimeDelta()); | 738 DCHECK(group_end_timestamp_ >= base::TimeDelta()); |
| 736 | 739 |
| 737 return true; | 740 return true; |
| 738 } | 741 } |
| 739 | 742 |
| 740 NOTREACHED(); | 743 NOTREACHED(); |
| 741 return false; | 744 return false; |
| 742 } | 745 } |
| 743 | 746 |
| 744 } // namespace media | 747 } // namespace media |
| OLD | NEW |