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/receiver/cast_receiver_impl.h" | 5 #include "media/cast/receiver/cast_receiver_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
12 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
13 #include "media/cast/receiver/audio_decoder.h" | 15 #include "media/cast/receiver/audio_decoder.h" |
14 #include "media/cast/receiver/video_decoder.h" | 16 #include "media/cast/receiver/video_decoder.h" |
15 | 17 |
16 namespace media { | 18 namespace media { |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 "cast_perf_test", "FrameDecoded", | 225 "cast_perf_test", "FrameDecoded", |
224 TRACE_EVENT_SCOPE_THREAD, | 226 TRACE_EVENT_SCOPE_THREAD, |
225 "rtp_timestamp", rtp_timestamp); | 227 "rtp_timestamp", rtp_timestamp); |
226 } | 228 } |
227 | 229 |
228 callback.Run(video_frame, playout_time, is_continuous); | 230 callback.Run(video_frame, playout_time, is_continuous); |
229 } | 231 } |
230 | 232 |
231 } // namespace cast | 233 } // namespace cast |
232 } // namespace media | 234 } // namespace media |
OLD | NEW |