tools: discoverer: When info is NULL just print error and return
authorVineeth TM <vineeth.tm@samsung.com>
Tue, 18 Aug 2015 23:37:46 +0000 (08:37 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 19 Aug 2015 07:20:58 +0000 (10:20 +0300)
commitb632b206e122f154b23a04c217d2fbb2927a95e6
tree1c4cd6a640f50a8405be68a465c44d8ec1d5a1d5
parent2727ca01f5596b7c28d7bb55d3853a883f51e414
tools: discoverer: When info is NULL just print error and return

In case discover_uri returns NULL info, passing the info to discoverer APIs
result in critical assertion errors. Hence instead of passing NULL info along,
print the error and return.

https://bugzilla.gnome.org/show_bug.cgi?id=753701
tools/gst-discoverer.c