va: Change the H264 profile string order in the profile_map.

The first one should be the one that matches the VA profile's name
most precisely.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1051>
This commit is contained in:
He Junyan 2021-10-05 01:53:47 +08:00 committed by Víctor Manuel Jáquez Leal
parent 83408cfdc8
commit e0b6c6678b

View file

@ -49,7 +49,7 @@ static const struct ProfileMap
"mpegversion = (int) 4, profile = (string) main, "),
P (H264, Main, "video/x-h264", "profile = (string) { main, baseline }"),
P (H264, High, "video/x-h264",
"profile = (string) { progressive-high, constrained-high, high }"),
"profile = (string) { high, progressive-high, constrained-high }"),
P (VC1, Simple, "video/x-wmv",
"wmvversion = (int) 3, profile = (string) simple"),
P (VC1, Main, "video/x-wmv",
@ -62,7 +62,7 @@ static const struct ProfileMap
"profile = (string) baseline"),
P (JPEG, Baseline, "image/jpeg", NULL),
P (H264, ConstrainedBaseline, "video/x-h264",
"profile = (string) { baseline, constrained-baseline }"),
"profile = (string) { constrained-baseline, baseline }"),
P (VP8, Version0_3, "video/x-vp8", NULL),
/* Unsupported profiles by current GstH264Decoder */
/* P (H264, MultiviewHigh, "video/x-h264", */