playbin: fix 'attempt to unlock mutex that was not locked' in error code path

Fixes playbin unit test with latest GLib.
This commit is contained in:
Tim-Philipp Müller 2014-07-26 14:52:01 +01:00
parent ce50fc221e
commit 1ed192abb0

View file

@ -5201,6 +5201,7 @@ no_decodebin:
uridecodebin_failure: uridecodebin_failure:
{ {
GST_DEBUG_OBJECT (playbin, "failed state change of uridecodebin"); GST_DEBUG_OBJECT (playbin, "failed state change of uridecodebin");
GST_SOURCE_GROUP_LOCK (group);
goto error_cleanup; goto error_cleanup;
} }
sink_failure: sink_failure: