From: Seven Du Date: Fri, 1 Feb 2019 00:57:34 +0000 (+0800) Subject: FS-11425 update vpx test code to suuport verbose logging X-Git-Tag: v1.10.0~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ec25d6353b3b592b34e485dbbe9b4edd697a55;p=thirdparty%2Ffreeswitch.git FS-11425 update vpx test code to suuport verbose logging --- diff --git a/tests/unit/switch_vpx.c b/tests/unit/switch_vpx.c index 97c55fdba5..e62a084651 100644 --- a/tests/unit/switch_vpx.c +++ b/tests/unit/switch_vpx.c @@ -11,10 +11,15 @@ FST_CORE_BEGIN("./conf") { FST_SETUP_BEGIN() { + switch_stream_handle_t stream = { 0 }; + SWITCH_STANDARD_STREAM(stream); + + switch_api_execute("vpx", "debug on", NULL, &stream); + switch_safe_free(stream.data); } FST_SETUP_END() - FST_TEST_BEGIN(avcodec_test) + FST_TEST_BEGIN(vp8_test) { switch_status_t status; switch_codec_t codec = { 0 };