History

avutil/hwcontext_opencl: Fix missing linesize when map from opencl

Zhao Zhili committed 2 years ago

Commit dcfc6081 parent 35dc1291 file · +1 −0Browse files

Unified · Split

libavutil/hwcontext_opencl.c+1−0
@@ -2014,6 +2014,7 @@ static int opencl_map_frame(AVHWFramesContext *hwfc, AVFrame *dst, · 2013 unmodified lines
2014 }2014 }
2015 2015
2016 dst->data[p] = map->address[p];2016 dst->data[p] = map->address[p];
2017 dst->linesize[p] = row_pitch;
2017 2018
2018 av_log(hwfc, AV_LOG_DEBUG, "Map plane %d (%p -> %p).\n",2019 av_log(hwfc, AV_LOG_DEBUG, "Map plane %d (%p -> %p).\n",
2019 p, src->data[p], dst->data[p]);2020 p, src->data[p], dst->data[p]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t