From d98faed1230560cc5b04c6209abde68849a302a3 Mon Sep 17 00:00:00 2001 From: hj kim Date: Tue, 13 Oct 2020 11:46:26 +0900 Subject: [PATCH] Support extracting stream information of AV1 and modify libav log level for debugging Change-Id: Ifd2f2c13248880915f5b7ef75d09f68ca032455c --- formats/ffmpeg/mm_file_format_ffmpeg.c | 3 ++- packaging/libmm-fileinfo.spec | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/formats/ffmpeg/mm_file_format_ffmpeg.c b/formats/ffmpeg/mm_file_format_ffmpeg.c index 76e0fd9..61d6d3d 100644 --- a/formats/ffmpeg/mm_file_format_ffmpeg.c +++ b/formats/ffmpeg/mm_file_format_ffmpeg.c @@ -70,6 +70,7 @@ static int __convert_vidio_codec_type(int AVVideoCodecID) case AV_CODEC_ID_MSMPEG4V1: case AV_CODEC_ID_MSMPEG4V2: case AV_CODEC_ID_MSMPEG4V3: + case AV_CODEC_ID_AV1: return MM_VIDEO_CODEC_MPEG4; case AV_CODEC_ID_WMV1: case AV_CODEC_ID_WMV2: @@ -321,7 +322,7 @@ int mmfile_format_open_ffmpg(MMFileFormatContext *formatContext) * AV_LOG_DEBUG 2 */ #ifdef __MMFILE_TEST_MODE__ - av_log_set_level(AV_LOG_DEBUG); + av_log_set_level(AV_LOG_TRACE); #else av_log_set_level(AV_LOG_QUIET); #endif diff --git a/packaging/libmm-fileinfo.spec b/packaging/libmm-fileinfo.spec index cc2fd18..664d255 100644 --- a/packaging/libmm-fileinfo.spec +++ b/packaging/libmm-fileinfo.spec @@ -1,6 +1,6 @@ Name: libmm-fileinfo Summary: Media Fileinfo -Version: 0.6.91 +Version: 0.6.92 Release: 1 Group: System/Libraries License: Apache-2.0 -- 2.34.1