pool->configured = FALSE;
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_buffer_pool_config_set (pool->config, NULL, 0, 0, 0, 0, 0);
gst_poll_write_control (pool->poll);
GST_DEBUG_OBJECT (pool, "created");
if (size == -1)
size = msize > offset ? msize - offset : 0;
/* use the same allocator as the memory we copy, FIXME, alignment? */
- copy = gst_allocator_alloc (mem->allocator, size, 1);
+ copy = gst_allocator_alloc (mem->allocator, size, 0);
dest = gst_memory_map (copy, NULL, NULL, GST_MAP_WRITE);
memcpy (dest, data + offset, size);
gst_memory_unmap (copy, dest, size);