You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/mediacodec_wrapper: blacklist more software decoders
Additionally blacklist ffmpeg, Samsung and Qualcomm software implementations offered through MediaCodec. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
This commit is contained in:
@@ -469,7 +469,12 @@ char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int profile, int e
|
|||||||
goto done;
|
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);
|
av_freep(&name);
|
||||||
goto done_with_type;
|
goto done_with_type;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user