Changed ffmpeg log level to AV_LOG_QUIET
authorJungYumin <y_m.jung@samsung.com>
Wed, 8 May 2013 08:50:34 +0000 (17:50 +0900)
committerJungYumin <y_m.jung@samsung.com>
Wed, 8 May 2013 08:50:34 +0000 (17:50 +0900)
Change-Id: I06752bc9d931d7787d590190d28719e457020549
Signed-off-by: JungYumin <y_m.jung@samsung.com>
src/FMedia_BmpDecoder.cpp
src/FMedia_BmpEncoder.cpp
src/FMedia_ColorConverter.cpp
src/FMedia_ImageUtil.cpp

index fe763bc..5f4133b 100755 (executable)
@@ -65,6 +65,7 @@ _BmpDecoder::OpenCodec(void)
        result r = E_SUCCESS;
        int res = 0;
 
+       av_log_set_level (AV_LOG_QUIET);
        avcodec_register_all();
 
        __pCodec = avcodec_find_decoder(CODEC_ID_BMP);
index 00cede8..af6210c 100755 (executable)
@@ -82,6 +82,7 @@ _BmpEncoder::Construct(int width, int height,
        reqPixelFormat = MEDIA_PIXEL_FORMAT_BGR888;
        __quality = quality;
 
+       av_log_set_level (AV_LOG_QUIET);
        avcodec_register_all();
 
        __pCodec = avcodec_find_encoder(CODEC_ID_BMP);
index e6a7a14..5dbd845 100644 (file)
@@ -118,6 +118,7 @@ _ColorConverter::Construct(MediaPixelFormat srcFormat, int srcWidth, int srcHeig
                r = E_UNSUPPORTED_FORMAT, E_UNSUPPORTED_FORMAT,
                "[E_UNSUPPORTED_FORMAT] Destination pixel format (%d) is not supported.", __dstFormat);
 
+       av_log_set_level (AV_LOG_QUIET);
        avcodec_register_all();
 
        // Create scale context
index 0968f5b..e790e6f 100644 (file)
@@ -1952,6 +1952,7 @@ _ImageUtil::ConvertPixelFormat(const ByteBuffer& srcBuf,
                "[E_INVALID_ARG] Invalid dst buffer size (%d) for pixelformat (%d) and size (%d x %d)",
                dstBuf.GetLimit(), dstFormat, srcWidth, srcHeight);
 
+       av_log_set_level (AV_LOG_QUIET);
        avcodec_register_all();
 
        if (srcWidth < 8)