bufferpool: start with raised control socket

In the inactive state, the control socket should be in the raised state, we will
release it when we start.
This commit is contained in:
Wim Taymans 2011-07-25 12:14:16 +01:00
parent e672a372d6
commit 43f61f5c40

View file

@ -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");
}