androidmedia: fix hevc codec profile registration

Fix the codec registration logic such that all supported profiles are available instead of just the first in the list.

Fixes regression introduced in !2511 (merged)

This was tested on a Samsung S8 lite tablet. Without the fix only the main-10 profile is available, with the patch both the main/main-1- profiles are usable.

Might be related: #1583

Edited by Thomas Schneider

Merge request reports