projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdfe797
)
validate: Give a proper argv[0] when running test files
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 7 May 2020 13:06:32 +0000
(09:06 -0400)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 6 Jun 2020 06:00:11 +0000
(06:00 +0000)
Fixes CID 1462613
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/192>
validate/tools/gst-validate.c
patch
|
blob
|
history
diff --git
a/validate/tools/gst-validate.c
b/validate/tools/gst-validate.c
index
e3b4373
..
f9b2c65
100644
(file)
--- a/
validate/tools/gst-validate.c
+++ b/
validate/tools/gst-validate.c
@@
-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);