History

libavfilter/vf_scale_qsv: add MFX_MEMTYPE_FROM_VPPOUT flag to frame_type

In case of DX11 device type, Media SDK is sensitive to these flags.

Artem Galin committed 5 years ago

Commit c1cebaa1 parent 46c69461 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_scale_qsv.c+1−1
@@ -202,7 +202,7 @@ static int init_out_pool(AVFilterContext *ctx, · 201 unmodified lines
202 out_frames_ctx->sw_format = out_format;202 out_frames_ctx->sw_format = out_format;
203 out_frames_ctx->initial_pool_size = 4;203 out_frames_ctx->initial_pool_size = 4;
204 204
205 out_frames_hwctx->frame_type = in_frames_hwctx->frame_type;205 out_frames_hwctx->frame_type = in_frames_hwctx->frame_type | MFX_MEMTYPE_FROM_VPPOUT;
206 206
207 ret = ff_filter_init_hw_frames(ctx, outlink, 32);207 ret = ff_filter_init_hw_frames(ctx, outlink, 32);
208 if (ret < 0)208 if (ret < 0)

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