]> granicus.if.org Git - libvpx/commitdiff
vp9 resize_test: Enable resize_allowed in real-time ExternalResize test.
authorMarco <marpan@google.com>
Wed, 10 Feb 2016 23:18:26 +0000 (15:18 -0800)
committerMarco <marpan@google.com>
Wed, 10 Feb 2016 23:23:27 +0000 (15:23 -0800)
For dynamic resizing (whether the new codec size is determined internally
or externally set by user), we should for now keep rc.resize_allowed enabled.
This prevent the use of referene_masking for real-time mode
(in set_rt_speed_feature()).

Change-Id: Ibb7c3ff35be88afdf1a3c6db6693521766f177a3

test/resize_test.cc

index c5f05f31048eeaa2b9964d1c84494057b8917501..10f7fe22f825a616dbb3bf66ead5312c852a9e97 100644 (file)
@@ -387,8 +387,6 @@ class ResizeRealtimeTest : public ::libvpx_test::EncoderTest,
 TEST_P(ResizeRealtimeTest, TestExternalResizeWorks) {
   ResizingVideoSource video;
   DefaultConfig();
-  // Disable internal resize for this test.
-  cfg_.rc_resize_allowed = 0;
   change_bitrate_ = false;
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));