Browse Source

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'.
tags/n4.0
Stefan _ Matthieu Bouron 8 years ago
parent
commit
5ab0ecf283
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mediacodec_wrapper.c

+ 1
- 1
libavcodec/mediacodec_wrapper.c View File

@@ -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…
Cancel
Save