OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <random> | 8 #include <random> |
9 | 9 |
| 10 #include "base/bind.h" |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
12 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
13 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
14 #include "media/base/audio_parameters.h" | 15 #include "media/base/audio_parameters.h" |
15 #include "media/base/video_frame.h" | 16 #include "media/base/video_frame.h" |
16 #include "media/muxers/webm_muxer.h" | 17 #include "media/muxers/webm_muxer.h" |
17 | 18 |
18 using namespace media; | 19 using namespace media; |
19 | 20 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 muxer.OnEncodedAudio(params, base::MakeUnique<std::string>(str), | 83 muxer.OnEncodedAudio(params, base::MakeUnique<std::string>(str), |
83 base::TimeTicks()); | 84 base::TimeTicks()); |
84 base::RunLoop run_loop; | 85 base::RunLoop run_loop; |
85 run_loop.RunUntilIdle(); | 86 run_loop.RunUntilIdle(); |
86 } | 87 } |
87 } while (num_iterations--); | 88 } while (num_iterations--); |
88 } | 89 } |
89 | 90 |
90 return 0; | 91 return 0; |
91 } | 92 } |
OLD | NEW |