mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
ab4ba47bbf
The return value of vaGetConfigAttributes() of VAConfigAttribRTFormat is a bitwise flag with *all* the supported chroma types. Previously it was assumed that the return value was a single value, thus when returning the GST_VAAPI_CHROMA_TYPE_XXX the code was a simple case. But it is wrong. This patch changes the case block with a sequence of ifs testing the bitwise. For now we assume a "priority" list in the testing sequence. |
||
---|---|---|
.. | ||
vaapi | ||
Makefile.am | ||
meson.build |