mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
validate: use real_main instead of main in run_test_from_file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7704>
This commit is contained in:
parent
073831128b
commit
339e6e0069
1 changed files with 2 additions and 2 deletions
|
@ -304,7 +304,7 @@ _register_playbin_actions (void)
|
|||
/* *INDENT-ON* */
|
||||
}
|
||||
|
||||
int main (int argc, gchar ** argv);
|
||||
static int real_main (int argc, gchar ** argv);
|
||||
|
||||
static int
|
||||
run_test_from_file (gchar * testfile, gboolean use_fakesinks)
|
||||
|
@ -325,7 +325,7 @@ run_test_from_file (gchar * testfile, gboolean use_fakesinks)
|
|||
argv[0] = (gchar *) "gst-validate-" GST_API_VERSION;
|
||||
memcpy (&argv[1], args, sizeof (char *) * (argc));
|
||||
|
||||
ret = main (argc, argv);
|
||||
ret = real_main (argc, argv);
|
||||
|
||||
g_strfreev (args);
|
||||
g_free (argv);
|
||||
|
|
Loading…
Reference in a new issue