bufferpool: start with raised control socket
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 25 Jul 2011 11:14:16 +0000 (12:14 +0100)
committerWim 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

index 52b7c8c..7620a2d 100644 (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");
 }