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:
e672a37
)
bufferpool: start with raised control socket
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 25 Jul 2011 11:14:16 +0000
(12:14 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 25 Jul 2011 11:16:13 +0000
(12:16 +0100)
In the inactive state, the control socket should be in the raised state, we will
release it when we start.
gst/gstbufferpool.c
patch
|
blob
|
history
diff --git
a/gst/gstbufferpool.c
b/gst/gstbufferpool.c
index
52b7c8c
..
7620a2d
100644
(file)
--- a/
gst/gstbufferpool.c
+++ b/
gst/gstbufferpool.c
@@
-118,6
+118,7
@@
gst_buffer_pool_init (GstBufferPool * pool)
pool->started = FALSE;
pool->config = gst_structure_id_empty_new (GST_QUARK (BUFFER_POOL_CONFIG));
gst_buffer_pool_config_set (pool->config, NULL, 0, 0, 0, 0, 1);
+ gst_poll_write_control (pool->poll);
GST_DEBUG_OBJECT (pool, "created");
}