mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
validate: Give a proper argv[0] when running test files
Fixes CID 1462613 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/192>
This commit is contained in:
parent
fdfe797d4e
commit
66972abafc
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ run_test_from_file (gchar * testfile, gboolean use_fakesinks)
|
|||
argc++;
|
||||
|
||||
argv = g_new0 (char *, argc + 1);
|
||||
argv[0] = argv[0];
|
||||
argv[0] = (gchar *) "gst-validate-" GST_API_VERSION;
|
||||
memcpy (&argv[1], args, sizeof (char *) * (argc));
|
||||
|
||||
ret = main (argc, argv);
|
||||
|
|
Loading…
Reference in a new issue