projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9bc3b
)
bufferpool: lock before unlock in _get_config
author
Matthew Waters
<ystreet00@gmail.com>
Thu, 8 Nov 2012 04:33:01 +0000
(15:33 +1100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 8 Nov 2012 08:08:09 +0000
(09:08 +0100)
Fixes deadlock on Windows
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687896
gst/gstbufferpool.c
patch
|
blob
|
history
diff --git
a/gst/gstbufferpool.c
b/gst/gstbufferpool.c
index
ec73907
..
d67912b
100644
(file)
--- a/
gst/gstbufferpool.c
+++ b/
gst/gstbufferpool.c
@@
-660,7
+660,7
@@
gst_buffer_pool_get_config (GstBufferPool * pool)
g_return_val_if_fail (GST_IS_BUFFER_POOL (pool), NULL);
- GST_BUFFER_POOL_
UN
LOCK (pool);
+ GST_BUFFER_POOL_LOCK (pool);
result = gst_structure_copy (pool->priv->config);
GST_BUFFER_POOL_UNLOCK (pool);