[Bug 755087] validate: launcher: Print error when media-info and media files not present in folder

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 2 08:19:28 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755087

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #311428|none                        |needs-work
             status|                            |

--- Comment #3 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 311428:
 --> (https://bugzilla.gnome.org/review?bug=755087&attachment=311428)

::: validate/launcher/apps/gstvalidate.py
@@ +646,3 @@
                 return True
             elif not self.options.generate_info and not
self.options.update_media_info and not self.options.validate_uris:
+                printc("%s not present. Use --generate-media-info" %
media_info, Colors.FAIL)

This might not be an error and what the user expect, please use self.info()
instead (if it does not existe make sure we descend from Loggable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list