mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1685: Cross build RTC with FFmpeg
This commit is contained in:
parent
1c75a270b3
commit
1e9de0e191
267 changed files with 12603 additions and 1451 deletions
|
@ -410,7 +410,7 @@ static int d3d11va_transfer_data(AVHWFramesContext *ctx, AVFrame *dst,
|
|||
|
||||
fill_texture_ptrs(map_data, map_linesize, ctx, &desc, &map);
|
||||
|
||||
av_image_copy(dst->data, dst->linesize, (const uint8_t **)map_data, map_linesize,
|
||||
av_image_copy(dst->data, dst->linesize, map_data, map_linesize,
|
||||
ctx->sw_format, w, h);
|
||||
|
||||
ID3D11DeviceContext_Unmap(device_hwctx->device_context, staging, 0);
|
||||
|
@ -422,7 +422,7 @@ static int d3d11va_transfer_data(AVHWFramesContext *ctx, AVFrame *dst,
|
|||
|
||||
fill_texture_ptrs(map_data, map_linesize, ctx, &desc, &map);
|
||||
|
||||
av_image_copy(map_data, map_linesize, (const uint8_t **)src->data, src->linesize,
|
||||
av_image_copy(map_data, map_linesize, src->data, src->linesize,
|
||||
ctx->sw_format, w, h);
|
||||
|
||||
ID3D11DeviceContext_Unmap(device_hwctx->device_context, staging, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue