diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index 1701106825..bb91167f5d 100644 --- a/gst/gstbufferpool.c +++ b/gst/gstbufferpool.c @@ -117,7 +117,7 @@ gst_buffer_pool_init (GstBufferPool * pool) 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"); diff --git a/gst/gstmemory.c b/gst/gstmemory.c index dfb3697645..32c045c54d 100644 --- a/gst/gstmemory.c +++ b/gst/gstmemory.c @@ -288,7 +288,7 @@ _fallback_copy (GstMemory * mem, gssize offset, gsize size) 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);