From 0918910a7df25731658644d54e216046d2b9f912 Mon Sep 17 00:00:00 2001 From: Victor Manuel Jaquez Leal Date: Tue, 8 Nov 2022 11:34:20 +0100 Subject: [PATCH] vavp8dec, vampeg2dec: Fix type name. The camel case name is wrong when registering the type. Part-of: --- subprojects/gst-docs/symbols/symbol_index.json | 8 ++++---- subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c | 2 +- subprojects/gst-plugins-bad/sys/va/gstvavp8dec.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/subprojects/gst-docs/symbols/symbol_index.json b/subprojects/gst-docs/symbols/symbol_index.json index 033dbca5d9..ce7477560e 100644 --- a/subprojects/gst-docs/symbols/symbol_index.json +++ b/subprojects/gst-docs/symbols/symbol_index.json @@ -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", diff --git a/subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c b/subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c index 4cfc929c01..9eee100087 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c @@ -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, diff --git a/subprojects/gst-plugins-bad/sys/va/gstvavp8dec.c b/subprojects/gst-plugins-bad/sys/va/gstvavp8dec.c index e4d9151385..d1c65420b7 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvavp8dec.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvavp8dec.c @@ -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;