Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: media/cast/sender/frame_sender.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/frame_sender.h" 5 #include "media/cast/sender/frame_sender.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "base/trace_event/trace_event.h" 12 #include "base/trace_event/trace_event.h"
12 #include "media/cast/cast_defines.h" 13 #include "media/cast/cast_defines.h"
13 #include "media/cast/constants.h" 14 #include "media/cast/constants.h"
14 #include "media/cast/sender/sender_encoded_frame.h" 15 #include "media/cast/sender/sender_encoded_frame.h"
15 16
16 namespace media { 17 namespace media {
17 namespace cast { 18 namespace cast {
18 namespace { 19 namespace {
19 20
20 const int kMinSchedulingDelayMs = 1; 21 const int kMinSchedulingDelayMs = 1;
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 VLOG(1) << SENDER_SSRC << "Dropping: In-flight duration would be too high."; 420 VLOG(1) << SENDER_SSRC << "Dropping: In-flight duration would be too high.";
420 return true; 421 return true;
421 } 422 }
422 423
423 // Next frame is accepted. 424 // Next frame is accepted.
424 return false; 425 return false;
425 } 426 }
426 427
427 } // namespace cast 428 } // namespace cast
428 } // namespace media 429 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/fake_video_encode_accelerator_factory.h ('k') | media/cast/sender/h264_vt_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698