diff options
Diffstat (limited to 'third_party/libaom/source/libaom/test/coding_path_sync.cc')
-rw-r--r-- | third_party/libaom/source/libaom/test/coding_path_sync.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libaom/source/libaom/test/coding_path_sync.cc b/third_party/libaom/source/libaom/test/coding_path_sync.cc index 4c613dc03b..0eaa9dad8d 100644 --- a/third_party/libaom/source/libaom/test/coding_path_sync.cc +++ b/third_party/libaom/source/libaom/test/coding_path_sync.cc @@ -31,7 +31,11 @@ class CompressedSource { aom_codec_iface_t *algo = aom_codec_av1_cx(); aom_codec_enc_cfg_t cfg; +#if CONFIG_REALTIME_ONLY + aom_codec_enc_config_default(algo, &cfg, 1); +#else aom_codec_enc_config_default(algo, &cfg, 0); +#endif // force the quantizer, to reduce the sensitivity on encoding choices. // e.g, we don't want this test to break when the rate control is modified. |