OSDN Git Service

stagefright-plugins: Always use FFMPEG for FLAC audio
authorSteve Kondik <steve@cyngn.com>
Sun, 27 Dec 2015 00:42:29 +0000 (16:42 -0800)
committerSteve Kondik <steve@cyngn.com>
Sun, 27 Dec 2015 00:42:29 +0000 (16:42 -0800)
 * The decoder in AOSP is not very good and due to the use of libFLAC
   it cannot work in the case where the DSP can offload compressed
   FLAC (AOSP's codec can only output decoded PCM). Prefer ours instead.

Change-Id: Id5665e4bcff0206c9ce2bd5e3d2ab7bfb81a1663

extractor/FFmpegExtractor.cpp

index 6eab2f1..0a409bf 100644 (file)
@@ -1608,7 +1608,6 @@ static bool isCodecSupportedByStagefright(enum AVCodecID codec_id)
     case AV_CODEC_ID_MP3:
     case AV_CODEC_ID_AMR_NB:
     case AV_CODEC_ID_AMR_WB:
-    case AV_CODEC_ID_FLAC:
     case AV_CODEC_ID_VORBIS:
     case AV_CODEC_ID_PCM_MULAW: //g711
     case AV_CODEC_ID_PCM_ALAW:  //g711