mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 07:10:21 +00:00
lavc/mediacodec_wrapper: do not discard codecs reporting they do not support any profile
Depending on the device, some (VP8/VP9/...) decoders report that they do not support any profiles.
This commit is contained in:
parent
23b6f880d6
commit
b8c158a4ed
@ -480,6 +480,9 @@ char *ff_AMediaCodecList_getCodecNameByType(const char *mime, int profile, int e
|
||||
}
|
||||
|
||||
profile_count = (*env)->GetArrayLength(env, profile_levels);
|
||||
if (!profile_count) {
|
||||
found_codec = 1;
|
||||
}
|
||||
for (k = 0; k < profile_count; k++) {
|
||||
int supported_profile = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user