mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avcodec/mediacodec_wrapper: fix false positives in swdec blacklist
'OMX.SEC.avc.dec' is a valid hardware decoder, while the decoders we seek to blacklist all match 'OMX.SEC.*.sw.dec'.
This commit is contained in:
parent
a43e9cdd44
commit
5ab0ecf283
@ -473,7 +473,7 @@ char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int profile, int e
|
||||
if (
|
||||
strstr(name, "OMX.google") ||
|
||||
strstr(name, "OMX.ffmpeg") ||
|
||||
strstr(name, "OMX.SEC") ||
|
||||
(strstr(name, "OMX.SEC") && strstr(name, ".sw.")) ||
|
||||
!strcmp(name, "OMX.qcom.video.decoder.hevcswvdec")) {
|
||||
av_freep(&name);
|
||||
goto done_with_type;
|
||||
|
Loading…
Reference in New Issue
Block a user