diff --git a/webrtc/video_engine/test/common/flags.cc b/webrtc/video_engine/test/common/flags.cc index 5ac50da20..3a63ff775 100644 --- a/webrtc/video_engine/test/common/flags.cc +++ b/webrtc/video_engine/test/common/flags.cc @@ -41,9 +41,9 @@ size_t Height() { } DEFINE_int32(fps, 30, "Frames per second."); -size_t Fps() { +int Fps() { assert(flags_are_init); - return static_cast(FLAGS_fps); + return static_cast(FLAGS_fps); } DEFINE_int32(min_bitrate, 50, "Minimum video bitrate."); diff --git a/webrtc/video_engine/test/common/flags.h b/webrtc/video_engine/test/common/flags.h index d652aec06..fb5f5fc9c 100644 --- a/webrtc/video_engine/test/common/flags.h +++ b/webrtc/video_engine/test/common/flags.h @@ -21,7 +21,7 @@ void Init(int* argc, char ***argv); size_t Width(); size_t Height(); -size_t Fps(); +int Fps(); size_t MinBitrate(); size_t StartBitrate(); size_t MaxBitrate(); diff --git a/webrtc/video_engine/test/common/video_capturer.cc b/webrtc/video_engine/test/common/video_capturer.cc index b90daaa2e..503ea4c22 100644 --- a/webrtc/video_engine/test/common/video_capturer.cc +++ b/webrtc/video_engine/test/common/video_capturer.cc @@ -32,7 +32,7 @@ VideoCapturer::VideoCapturer(newapi::VideoSendStreamInput* input) VideoCapturer* VideoCapturer::Create(newapi::VideoSendStreamInput* input, size_t width, size_t height, - size_t fps, + int fps, Clock* clock) { VcmCapturer* vcm_capturer = VcmCapturer::Create(input, width, height, fps); diff --git a/webrtc/video_engine/test/common/video_capturer.h b/webrtc/video_engine/test/common/video_capturer.h index 1f8f68099..0b44a63f8 100644 --- a/webrtc/video_engine/test/common/video_capturer.h +++ b/webrtc/video_engine/test/common/video_capturer.h @@ -27,7 +27,7 @@ class VideoCapturer { static VideoCapturer* Create(newapi::VideoSendStreamInput* input, size_t width, size_t height, - size_t fps, + int fps, Clock* clock); virtual ~VideoCapturer() {}