OSDN Git Service

FFmpegExtractor: Fix "supported" typo in logs
authorMichael Bestas <mkbestas@lineageos.org>
Mon, 26 Jun 2017 23:42:47 +0000 (02:42 +0300)
committerMichael Bestas <mkbestas@lineageos.org>
Tue, 27 Jun 2017 13:41:09 +0000 (13:41 +0000)
Change-Id: I016879f91371b149e9cdeaaba1d39282e146b3e4

extractor/FFmpegExtractor.cpp

index 8e870aa..4f2e41f 100644 (file)
@@ -348,7 +348,7 @@ bool FFmpegExtractor::is_codec_supported(enum AVCodecID codec_id)
         supported = true;
         break;
     default:
-        ALOGD("unsuppoted codec(%s), but give it a chance",
+        ALOGD("unsupported codec (%s), but give it a chance",
                 avcodec_get_name(codec_id));
         //Won't promise that the following codec id can be supported.
         //Just give these codecs a chance.
@@ -421,7 +421,7 @@ sp<MetaData> FFmpegExtractor::setVideoFormat(AVStream *stream)
         meta = setVP9Format(avctx);
         break;
     default:
-        ALOGD("unsuppoted video codec(id:%d, name:%s), but give it a chance",
+        ALOGD("unsupported video codec (id: %d, name: %s), but give it a chance",
                 avctx->codec_id, avcodec_get_name(avctx->codec_id));
         meta = new MetaData;
         meta->setInt32(kKeyCodecId, avctx->codec_id);
@@ -540,7 +540,7 @@ sp<MetaData> FFmpegExtractor::setAudioFormat(AVStream *stream)
         meta = setALACFormat(avctx);
         break;
     default:
-        ALOGD("unsuppoted audio codec(id:%d, name:%s), but give it a chance",
+        ALOGD("unsupported audio codec (id: %d, name: %s), but give it a chance",
                 avctx->codec_id, avcodec_get_name(avctx->codec_id));
         meta = new MetaData;
         meta->setInt32(kKeyCodecId, avctx->codec_id);
@@ -1723,7 +1723,7 @@ static bool isCodecSupportedByStagefright(enum AVCodecID codec_id)
         break;
     }
 
-    ALOGD("%ssuppoted codec(%s) by official Stagefright",
+    ALOGD("%ssupported codec (%s) by official Stagefright",
             (supported ? "" : "un"),
             avcodec_get_name(codec_id));