mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
88a36b53c5
commit
bebfbb6f69
1 changed files with 5 additions and 0 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue