summaryrefslogtreecommitdiff
path: root/validate/tools
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-08-17 10:40:22 +0900
committerThibault Saunier <tsaunier@gnome.org>2015-10-02 17:39:00 +0200
commite1c1c45eb82e79915f46bcbcf113f3287eefbed3 (patch)
tree0c662149134fa8bee19cb46bf4f1d5771a5391e8 /validate/tools
parent15c87003b8c48a473b1160a5d93e12b06f3fe90c (diff)
validate: media-check: Pass NULL instead of GError if not using it
If not using the GError being passed on to media descriptor, writer and parser, simply pass NULL instead of GError. https://bugzilla.gnome.org/show_bug.cgi?id=753340
Diffstat (limited to 'validate/tools')
-rw-r--r--validate/tools/gst-validate-media-check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/validate/tools/gst-validate-media-check.c b/validate/tools/gst-validate-media-check.c
index ccf952f..e7943a9 100644
--- a/validate/tools/gst-validate-media-check.c
+++ b/validate/tools/gst-validate-media-check.c
@@ -98,7 +98,7 @@ main (int argc, gchar ** argv)
runner = gst_validate_runner_new ();
writer =
gst_media_descriptor_writer_new_discover (runner, argv[1], full, TRUE,
- &err);
+ NULL);
if (writer == NULL) {
g_print ("Could not discover file: %s\n", argv[1]);
ret = 1;
@@ -113,7 +113,7 @@ main (int argc, gchar ** argv)
}
if (expected_file) {
- reference = gst_media_descriptor_parser_new (runner, expected_file, &err);
+ reference = gst_media_descriptor_parser_new (runner, expected_file, NULL);
if (reference == NULL) {
g_print ("Could not parse file: %s\n", expected_file);