vavp8dec, vampeg2dec: Fix type name.

The camel case name is wrong when registering the type.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3361>
This commit is contained in:
Victor Manuel Jaquez Leal 2022-11-08 11:34:20 +01:00 committed by GStreamer Marge Bot
parent 0b33f3cd1f
commit 0918910a7d
3 changed files with 7 additions and 7 deletions

View file

@ -16778,13 +16778,13 @@
"GstVaH265Dec!sink",
"GstVaH265Dec!src",
"GstVaImplementation",
"GstVaMpeg2dec!sink",
"GstVaMpeg2dec!src",
"GstVaMpeg2Dec!sink",
"GstVaMpeg2Dec!src",
"GstVaPool",
"GstVaPostProc!sink",
"GstVaPostProc!src",
"GstVaVp8dec!sink",
"GstVaVp8dec!src",
"GstVaVp8Dec!sink",
"GstVaVp8Dec!src",
"GstVaVp9Dec!sink",
"GstVaVp9Dec!src",
"GstVaapiDecodeBin",

View file

@ -705,7 +705,7 @@ gst_va_mpeg2_dec_register (GstPlugin * plugin, GstVaDevice * device,
type_info.class_data = cdata;
type_name = g_strdup ("GstVaMpeg2dec");
type_name = g_strdup ("GstVaMpeg2Dec");
feature_name = g_strdup ("vampeg2dec");
/* The first decoder to be registered should use a constant name,

View file

@ -574,7 +574,7 @@ gst_va_vp8_dec_register (GstPlugin * plugin, GstVaDevice * device,
type_info.class_data = cdata;
type_name = g_strdup ("GstVaVp8dec");
type_name = g_strdup ("GstVaVp8Dec");
feature_name = g_strdup ("vavp8dec");
/* The first decoder to be registered should use a constant name,
@ -584,7 +584,7 @@ gst_va_vp8_dec_register (GstPlugin * plugin, GstVaDevice * device,
gchar *basename = g_path_get_basename (device->render_device_path);
g_free (type_name);
g_free (feature_name);
type_name = g_strdup_printf ("GstVa%sVP8Dec", basename);
type_name = g_strdup_printf ("GstVa%sVp8Dec", basename);
feature_name = g_strdup_printf ("va%svp8dec", basename);
cdata->description = basename;