summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-07-26 14:52:01 +0100
committerTim-Philipp Müller <tim@centricular.com>2014-11-24 10:28:48 +0000
commitee86097d7d05a95bd444ab981e2af88551f153b8 (patch)
tree0285e7c3a51d370875d2b7a3eccad2e5e17e2038 /gst
parent59f47e6bcffaf71346810f3dbd28300e93f27d15 (diff)
playbin: fix 'attempt to unlock mutex that was not locked' in error code path
Fixes playbin unit test with latest GLib.
Diffstat (limited to 'gst')
-rw-r--r--gst/playback/gstplaybin2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index 5583de1b8..f2a3af6a6 100644
--- a/gst/playback/gstplaybin2.c
+++ b/gst/playback/gstplaybin2.c
@@ -5219,6 +5219,7 @@ no_decodebin:
uridecodebin_failure:
{
GST_DEBUG_OBJECT (playbin, "failed state change of uridecodebin");
+ GST_SOURCE_GROUP_LOCK (group);
goto error_cleanup;
}
sink_failure: