[vpu_api]: use hex to print coding type

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1044 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-07-19 09:49:14 +00:00
parent ee095068bc
commit 135041f771

View File

@@ -273,7 +273,7 @@ RK_S32 vpu_open_context(VpuCodecContext **ctx)
MppCtxType type = (s->codecType == CODEC_DECODER) ? (MPP_CTX_DEC) :
(s->codecType == CODEC_ENCODER) ? (MPP_CTX_ENC) : (MPP_CTX_BUTT);
MppCodingType coding = (MppCodingType)s->videoCoding;
mpp_log("videoCoding %d, width %d, height %d \n", s->videoCoding, s->width, s->height);
mpp_log("videoCoding %x, width %d, height %d \n", s->videoCoding, s->width, s->height);
if (MPP_OK == mpp_check_support_format(type, coding)
|| (s->videoCoding == OMX_RK_VIDEO_CodingAVC &&
s->codecType == CODEC_DECODER && ((s->width > 1920) || (s->height > 1088) || use_mpp_mode))) {