diff options
Diffstat (limited to 'test/encode_test_driver.h')
-rw-r--r-- | test/encode_test_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/encode_test_driver.h b/test/encode_test_driver.h index e16cf9cdd..7a068bf0b 100644 --- a/test/encode_test_driver.h +++ b/test/encode_test_driver.h @@ -133,6 +133,10 @@ class Encoder { ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); } + void Control(int ctrl_id, struct vpx_svc_parameters *arg) { + const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); + ASSERT_EQ(VPX_CODEC_OK, res) << EncoderError(); + } #if CONFIG_VP8_ENCODER || CONFIG_VP9_ENCODER void Control(int ctrl_id, vpx_active_map_t *arg) { const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); |