summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@intel.com>2020-07-12 20:34:31 +0800
committerHe Junyan <junyan.he@intel.com>2020-07-12 20:34:31 +0800
commitb1832223ffb72360e01fe30cdf0b88423b0455b2 (patch)
treef5e7e78ffee9fdad8218427b483d47d16d3eb116 /gst-libs
parent2a93455137a4c769125a08b6b8201cd3a33c2696 (diff)
libs: profile: The VP9 profiles' name should be just "0,1,2,3"
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/357>
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiprofile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiprofile.c b/gst-libs/gst/vaapi/gstvaapiprofile.c
index e7bdea00..dc9b07ff 100644
--- a/gst-libs/gst/vaapi/gstvaapiprofile.c
+++ b/gst-libs/gst/vaapi/gstvaapiprofile.c
@@ -141,13 +141,13 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
"video/x-h265", "screen-extended-main-444-10"},
#endif
{GST_VAAPI_PROFILE_VP9_0, VAProfileVP9Profile0,
- "video/x-vp9", "profile0"},
+ "video/x-vp9", "0"},
{GST_VAAPI_PROFILE_VP9_1, VAProfileVP9Profile1,
- "video/x-vp9", "profile1"},
+ "video/x-vp9", "1"},
{GST_VAAPI_PROFILE_VP9_2, VAProfileVP9Profile2,
- "video/x-vp9", "profile2"},
+ "video/x-vp9", "2"},
{GST_VAAPI_PROFILE_VP9_3, VAProfileVP9Profile3,
- "video/x-vp9", "profile3"},
+ "video/x-vp9", "3"},
{0,}
};