Skip to content

vp9parse: Fix auto-plugging of HW frame decoder

Decoders that required frame aligmment and didn't have an associated alpha decoder were skipped. This is because the parser was constructing caps based on the software alpha decoder, which specify super-frame alignment.

Iterate over the caps to filter the one that have a matching codec-alpha, with the semantic the no codec-alpha field means codec-alpha=false. Then if everything was removed, callback to the original, so that the first non-alpha decoder will be picked.

Fixes #820 (closed)

Edited by Nicolas Dufresne

Merge request reports