He Junyan 83e307ac96 va: basedec: Select the best format of the whole caps
The current way only selects the best video format from the first
structure of the caps. The caps like:

  video/x-raw(memory:VAMemory),drm-format=(string)NV12;  \
  video/x-raw(memory:VAMemory),format=(string){ NV12, Y210 }

Will just choose NV12 as the result, even the bitstream is 10 bits.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4928>
2023-06-25 10:55:23 +00:00
..
2023-06-18 18:21:03 +00:00
2023-05-20 05:48:23 +00:00
2023-02-03 17:48:10 +00:00
2023-06-16 01:30:40 +00:00
2023-02-28 10:12:31 +00:00