GNOME Bugzilla – Bug 750089
validate: media-check: add to print new line
Last modified: 2015-06-14 21:49:00 UTC
I just add a new line character to make it easy to see the log message when fail to check media.
Created attachment 304228 [details] [review] validate: media-check: add to print new line
Doesn't gst_media_descriptor_writer_new_discover (runner, argv[1], full, TRUE,...); make a report when it fails? It definitely should, and we should not need to add a print at that point as the MediaDescriptor (even if not return) should do the reporting itself.
No, It makes a report when it fails with using gat-validate-launcher. I tried to analyse failure test case with gst-validate-media-check-1.0, and command line became a little bit unclean state after print failure log due to missing newline character. So, I just add a tiny patch of it.
Sorry. Yes, It makes a report when it fails with using gat-validate-launcher. I can get a correct report from it.
So should we just remove the printing? I do not care tbh much :)
Patch is obviously correct, so let's get it in and get this closed, and if anyone feels like it should be removed they can still do so once they decide that's what should be done :) commit 9ea5df9c988a03de934902ed870866d4086c2fe5 Author: Wonchul Lee <chul0812@gmail.com> Date: Fri May 29 16:45:25 2015 +0900 validate: media-check: add newline to end of print statements https://bugzilla.gnome.org/show_bug.cgi?id=750089