FFmpeg: CodecStorage - simplify codecAvailableOnDevice handling
We had two checks for codecAvailableOnDevice: one only for mediacodec
encoders, and a late generic one.
We only apply the check once early in the function and assert that we
(for now) only use this codepath on android.
Pick-to: 6.12
Change-Id: I315283fffd1754ceb9b8df41687d65c6323655c1
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
| commit | 03a1d1368ffe963c78a37bad8944c7eab5836253 |
| parent | 86b9c07921ab91e7d4b568446840248eee0b1805 |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Tue, 8 Sep 2026 10:05:28 +0000 |