Commit 313b6057 authored by Stefan _'s avatar Stefan _ Committed by Aman Gupta

avcodec/mediacodec_wrapper: blacklist more software decoders

Additionally blacklist ffmpeg, Samsung and Qualcomm
software implementations offered through MediaCodec.
Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
Signed-off-by: 's avatarMatthieu Bouron <matthieu.bouron@gmail.com>
parent 0645698e
......@@ -469,7 +469,12 @@ char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int profile, int e
goto done;
}
if (strstr(name, "OMX.google")) {
/* Skip software decoders */
if (
strstr(name, "OMX.google") ||
strstr(name, "OMX.ffmpeg") ||
strstr(name, "OMX.SEC") ||
!strcmp(name, "OMX.qcom.video.decoder.hevcswvdec")) {
av_freep(&name);
goto done_with_type;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment