]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7508: log vpx version
authorSeven Du <dujinfang@gmail.com>
Tue, 21 Apr 2015 09:27:49 +0000 (17:27 +0800)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:23 +0000 (12:47 -0500)
src/mod/codecs/mod_vpx/mod_vpx.c

index c7cdafd2bf1cea38ad22f096e25ba2c46e97dcb8..f3eb3034d30bc1341a5abb0bf088c5a029a78d56 100644 (file)
@@ -498,6 +498,9 @@ static switch_status_t switch_vpx_init(switch_codec_t *codec, switch_codec_flag_
        context->codec_settings.video.width = 320;
        context->codec_settings.video.height = 240;
 
+       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "VPX VER:%s VPX_IMAGE_ABI_VERSION:%d VPX_CODEC_ABI_VERSION:%d\n",
+               vpx_codec_version_str(), VPX_IMAGE_ABI_VERSION, VPX_CODEC_ABI_VERSION);
+
        return SWITCH_STATUS_SUCCESS;
 }