From e1c1c45eb82e79915f46bcbcf113f3287eefbed3 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 17 Aug 2015 10:40:22 +0900 Subject: 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 --- validate/tools/gst-validate-media-check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'validate/tools') 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); -- cgit v1.2.3