In case of DX11 device type, Media SDK is sensitive to these flags.
Unified · Split
| @@ -202,7 +202,7 @@ static int init_out_pool(AVFilterContext *ctx, · 201 unmodified lines | ||
| 202 | 202 | out_frames_ctx->sw_format = out_format; |
| 203 | 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 | 207 | ret = ff_filter_init_hw_frames(ctx, outlink, 32); |
| 208 | 208 | if (ret < 0) |