| 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/cast/sender/fake_software_video_encoder.h" | 5 #include "media/cast/sender/fake_software_video_encoder.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
| 8 #include "base/values.h" | 10 #include "base/values.h" |
| 9 #include "media/base/video_frame.h" | 11 #include "media/base/video_frame.h" |
| 10 #include "media/cast/cast_defines.h" | 12 #include "media/cast/cast_defines.h" |
| 11 #include "media/cast/constants.h" | 13 #include "media/cast/constants.h" |
| 12 | 14 |
| 13 #ifndef OFFICIAL_BUILD | 15 #ifndef OFFICIAL_BUILD |
| 14 | 16 |
| 15 namespace media { | 17 namespace media { |
| 16 namespace cast { | 18 namespace cast { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 } | 77 } |
| 76 | 78 |
| 77 void FakeSoftwareVideoEncoder::GenerateKeyFrame() { | 79 void FakeSoftwareVideoEncoder::GenerateKeyFrame() { |
| 78 next_frame_is_key_ = true; | 80 next_frame_is_key_ = true; |
| 79 } | 81 } |
| 80 | 82 |
| 81 } // namespace cast | 83 } // namespace cast |
| 82 } // namespace media | 84 } // namespace media |
| 83 | 85 |
| 84 #endif | 86 #endif |
| OLD | NEW |