OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef MEDIA_FILTERS_LIBWEBM_MUXER_H_ | 5 #ifndef MEDIA_FILTERS_LIBWEBM_MUXER_H_ |
6 #define MEDIA_FILTERS_LIBWEBM_MUXER_H_ | 6 #define MEDIA_FILTERS_LIBWEBM_MUXER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/numerics/safe_math.h" | 12 #include "base/numerics/safe_math.h" |
11 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
12 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
13 #include "base/time/time.h" | 15 #include "base/time/time.h" |
14 #include "media/base/media_export.h" | 16 #include "media/base/media_export.h" |
15 #include "media/base/video_codecs.h" | 17 #include "media/base/video_codecs.h" |
16 #include "third_party/libwebm/source/mkvmuxer.hpp" | 18 #include "third_party/libwebm/source/mkvmuxer.hpp" |
17 | 19 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // Save the most recent video keyframe if we're waiting for audio to come in. | 118 // Save the most recent video keyframe if we're waiting for audio to come in. |
117 scoped_ptr<std::string> most_recent_encoded_video_keyframe_; | 119 scoped_ptr<std::string> most_recent_encoded_video_keyframe_; |
118 base::TimeTicks saved_keyframe_timestamp_; | 120 base::TimeTicks saved_keyframe_timestamp_; |
119 | 121 |
120 DISALLOW_COPY_AND_ASSIGN(WebmMuxer); | 122 DISALLOW_COPY_AND_ASSIGN(WebmMuxer); |
121 }; | 123 }; |
122 | 124 |
123 } // namespace media | 125 } // namespace media |
124 | 126 |
125 #endif // MEDIA_FILTERS_LIBWEBM_MUXER_H_ | 127 #endif // MEDIA_FILTERS_LIBWEBM_MUXER_H_ |
OLD | NEW |