From: Seven Du Date: Tue, 21 Apr 2015 09:27:49 +0000 (+0800) Subject: FS-7508: log vpx version X-Git-Tag: v1.6.2~614^2~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f25e9d434f1f4e1c1aecbba1334855e14d4417;p=thirdparty%2Ffreeswitch.git FS-7508: log vpx version --- diff --git a/src/mod/codecs/mod_vpx/mod_vpx.c b/src/mod/codecs/mod_vpx/mod_vpx.c index c7cdafd2bf..f3eb3034d3 100644 --- a/src/mod/codecs/mod_vpx/mod_vpx.c +++ b/src/mod/codecs/mod_vpx/mod_vpx.c @@ -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; }