playbin: fix 'attempt to unlock mutex that was not locked' in error code path
authorTim-Philipp Müller <tim@centricular.com>
Sat, 26 Jul 2014 13:52:01 +0000 (14:52 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 26 Jul 2014 13:52:01 +0000 (14:52 +0100)
Fixes playbin unit test with latest GLib.

gst/playback/gstplaybin2.c

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