mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-13 04:43:42 +08:00
[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:
@@ -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))) {
|
||||
|
Reference in New Issue
Block a user