va: h264dec: Allow "extended" profile decoding

Extended is identical to main but allows for FMO/ASO features to be
used, and prevent using CABAC. Using similar logic to "baseline",
assume that if we support main, we can also do extended.

This fixes the following fluster vectors, which otherwise would fail
when trying to link the parsebin pad.

  - BA3_SVA_C
  - MR6_BT_B
  - MR7_BT_B
  - MR8_BT_B

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8164>
This commit is contained in:
Nicolas Dufresne 2024-12-16 21:41:55 -05:00 committed by GStreamer Marge Bot
parent 88a36b53c5
commit bebfbb6f69

View file

@ -787,6 +787,11 @@ _complete_sink_caps (GstCaps * sinkcaps)
_append_str (&val, profile);
/* Similar to baseline and constrained-baseline, extended is the same as
* main if we ignore ASO/FMO features. */
if (g_strcmp0 (profile, "main") == 0)
_append_str (&val, "extended");
if (g_strcmp0 (profile, "high") == 0) {
for (j = 0; j < G_N_ELEMENTS (high_synthetic); j++)
_append_str (&val, high_synthetic[j]);