mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
allocator: Set the alignment at the correct place in GstAllocationParams
This commit is contained in:
parent
22c398b189
commit
55f9862999
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ _fallback_mem_copy (GstMemory * mem, gssize offset, gssize size)
|
||||||
{
|
{
|
||||||
GstMemory *copy;
|
GstMemory *copy;
|
||||||
GstMapInfo sinfo, dinfo;
|
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))
|
if (!gst_memory_map (mem, &sinfo, GST_MAP_READ))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue