]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11425 update vpx test code to suuport verbose logging
authorSeven Du <seven@signalwire.com>
Fri, 1 Feb 2019 00:57:34 +0000 (08:57 +0800)
committerAndrey Volk <andywolk@gmail.com>
Tue, 16 Jul 2019 21:08:44 +0000 (01:08 +0400)
tests/unit/switch_vpx.c

index 97c55fdba5835dcf69546e8a9824ba07e57594f0..e62a0846510ac45dfc8e58f933c0d430d5bafb88 100644 (file)
@@ -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 };