allocator: Set the alignment at the correct place in GstAllocationParams

This commit is contained in:
Sebastian Dröge 2012-08-08 16:08:44 +02:00
parent 22c398b189
commit 55f9862999

View file

@ -94,7 +94,7 @@ _fallback_mem_copy (GstMemory * mem, gssize offset, gssize size)
{
GstMemory *copy;
GstMapInfo sinfo, dinfo;
GstAllocationParams params = { 0, 0, 0, mem->align, };
GstAllocationParams params = { 0, mem->align, 0, 0, };
if (!gst_memory_map (mem, &sinfo, GST_MAP_READ))
return NULL;