pbutils: discoverer: Set GError when NULL info is being returned.
authorVineeth TM <vineeth.tm@samsung.com>
Tue, 18 Aug 2015 00:06:39 +0000 (09:06 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 18 Aug 2015 09:13:41 +0000 (12:13 +0300)
commitfd7724b6e1114acde47360988ae38a4cf691f8a7
tree872aff96200e44b88d846b21455c5dbe8e0bbbf8
parent6ee8b22c403bb15407ca012e54cf463c1b24ed13
pbutils: discoverer: Set GError when NULL info is being returned.

When discovering the URI, if info is NULL, then instead of just returning NULL,
set the GError, so the error can be printed and notified.

https://bugzilla.gnome.org/show_bug.cgi?id=753701
gst-libs/gst/pbutils/gstdiscoverer.c