ges: Fix old style function

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
Edward Hervey 2025-01-10 11:22:32 +01:00 committed by GStreamer Marge Bot
parent f20ecfa920
commit ee722d0b16
4 changed files with 6 additions and 6 deletions

View File

@ -161,13 +161,13 @@ new_snapped_position (GstClockTime distance)
} }
static GHashTable * static GHashTable *
new_edit_table () new_edit_table (void)
{ {
return g_hash_table_new_full (NULL, NULL, NULL, g_free); return g_hash_table_new_full (NULL, NULL, NULL, g_free);
} }
static GHashTable * static GHashTable *
new_position_table () new_position_table (void)
{ {
return g_hash_table_new_full (NULL, NULL, NULL, g_free); return g_hash_table_new_full (NULL, NULL, NULL, g_free);
} }

View File

@ -86,7 +86,7 @@ enum
static GParamSpec *properties[PROP_LAST]; static GParamSpec *properties[PROP_LAST];
static GstCaps * static GstCaps *
ges_demux_get_sinkpad_caps () ges_demux_get_sinkpad_caps (void)
{ {
GList *tmp, *formatters; GList *tmp, *formatters;
GstCaps *sinkpad_caps = gst_caps_new_empty (); GstCaps *sinkpad_caps = gst_caps_new_empty ();

View File

@ -133,7 +133,7 @@ clean:
NLE_END_VALIDATE_ACTION; NLE_END_VALIDATE_ACTION;
static void static void
register_action_types () register_action_types (void)
{ {
GST_DEBUG_CATEGORY_INIT (nle_validate_debug, "nlevalidate", GST_DEBUG_CATEGORY_INIT (nle_validate_debug, "nlevalidate",
GST_DEBUG_FG_BLUE | GST_DEBUG_BOLD, "NLE validate"); GST_DEBUG_FG_BLUE | GST_DEBUG_BOLD, "NLE validate");
@ -164,7 +164,7 @@ register_action_types ()
void void
nle_validate_init () nle_validate_init (void)
{ {
register_action_types (); register_action_types ();
} }

View File

@ -636,7 +636,7 @@ GST_START_TEST (test_tempochange_seek)
GST_END_TEST; GST_END_TEST;
static void static void
late_ges_init () late_ges_init (void)
{ {
/* We need to do this inside the test cases, not during the initialization /* We need to do this inside the test cases, not during the initialization
* of the suite, as ges_init() will initialize thread pools, which cannot * of the suite, as ges_init() will initialize thread pools, which cannot