harness: Handle harness->element not being a GstBin
authorThibault Saunier <tsaunier@igalia.com>
Mon, 16 Apr 2018 19:27:57 +0000 (16:27 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 17 Apr 2018 13:15:06 +0000 (10:15 -0300)
commit0b86481adf809cbc024ef5a51d75971fdbc24bd4
treee76d2f05e4c5bf19249eb0ad9bdd2380c98832b2
parentd1b2d3429c66d80b8d38f9afc6a8dfca49f3a71a
harness: Handle harness->element not being a GstBin

It is totally valid but in gst_harness_find_element we were not
handling that case.

https://bugzilla.gnome.org/show_bug.cgi?id=795308
libs/gst/check/gstharness.c