decodebin2: fix "Attempt to unlock mutex that was not locked"

Introduced in commit ee44337f, caused the decodebin
test_text_plain_streams unit test to abort.

https://bugzilla.gnome.org/show_bug.cgi?id=752651
This commit is contained in:
Tim-Philipp Müller 2015-12-02 18:16:05 +00:00
parent d292ed48c5
commit 71505dfa24

View file

@ -2867,8 +2867,9 @@ type_found (GstElement * typefind, guint probability,
gst_object_unref (sink_pad);
gst_object_unref (pad);
exit:
EXPOSE_UNLOCK (decode_bin);
exit:
return;
}