| Index: remoting/codec/video_encoder_vpx_unittest.cc
|
| diff --git a/remoting/codec/video_encoder_vpx_unittest.cc b/remoting/codec/video_encoder_vpx_unittest.cc
|
| index dfb3627d9c0df5f60dc543f869cc384c7265799e..3914a0d3a65c20ac22cadb8191870f671b22898a 100644
|
| --- a/remoting/codec/video_encoder_vpx_unittest.cc
|
| +++ b/remoting/codec/video_encoder_vpx_unittest.cc
|
| @@ -54,7 +54,7 @@ TEST(VideoEncoderVpxTest, Vp9) {
|
| TEST(VideoEncoderVpxTest, Vp9LossyEncodeSwitching) {
|
| scoped_ptr<VideoEncoderVpx> encoder(VideoEncoderVpx::CreateForVP9());
|
|
|
| - webrtc::DesktopSize frame_size(1024, 768);
|
| + webrtc::DesktopSize frame_size(100, 100);
|
| scoped_ptr<webrtc::DesktopFrame> frame(CreateTestFrame(frame_size));
|
|
|
| // Lossy encode the first frame.
|
| @@ -80,7 +80,7 @@ TEST(VideoEncoderVpxTest, Vp9LossyEncodeSwitching) {
|
| TEST(VideoEncoderVpxTest, Vp9LossyColorSwitching) {
|
| scoped_ptr<VideoEncoderVpx> encoder(VideoEncoderVpx::CreateForVP9());
|
|
|
| - webrtc::DesktopSize frame_size(1024, 768);
|
| + webrtc::DesktopSize frame_size(100, 100);
|
| scoped_ptr<webrtc::DesktopFrame> frame(CreateTestFrame(frame_size));
|
|
|
| // Lossy encode the first frame.
|
| @@ -100,7 +100,7 @@ TEST(VideoEncoderVpxTest, Vp9LossyColorSwitching) {
|
| TEST(VideoEncoderVpxTest, Vp8IgnoreLossy) {
|
| scoped_ptr<VideoEncoderVpx> encoder(VideoEncoderVpx::CreateForVP8());
|
|
|
| - webrtc::DesktopSize frame_size(1024, 768);
|
| + webrtc::DesktopSize frame_size(100, 100);
|
| scoped_ptr<webrtc::DesktopFrame> frame(CreateTestFrame(frame_size));
|
|
|
| // Encode a frame, to give the encoder a chance to crash if misconfigured.
|
| @@ -113,7 +113,7 @@ TEST(VideoEncoderVpxTest, Vp8IgnoreLossy) {
|
| // Test that calling Encode with a larger frame size than the initial one
|
| // does not cause VP8 to crash.
|
| TEST(VideoEncoderVpxTest, Vp8SizeChangeNoCrash) {
|
| - webrtc::DesktopSize frame_size(1000, 1000);
|
| + webrtc::DesktopSize frame_size(100, 100);
|
|
|
| scoped_ptr<VideoEncoderVpx> encoder(VideoEncoderVpx::CreateForVP8());
|
|
|
| @@ -132,7 +132,7 @@ TEST(VideoEncoderVpxTest, Vp8SizeChangeNoCrash) {
|
| // Test that calling Encode with a larger frame size than the initial one
|
| // does not cause VP9 to crash.
|
| TEST(VideoEncoderVpxTest, Vp9SizeChangeNoCrash) {
|
| - webrtc::DesktopSize frame_size(1000, 1000);
|
| + webrtc::DesktopSize frame_size(100, 100);
|
|
|
| scoped_ptr<VideoEncoderVpx> encoder(VideoEncoderVpx::CreateForVP9());
|
|
|
|
|