mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 02:42:21 +00:00
libavfilter/qsvvpp: add MFX_MEMTYPE_FROM_VPPOUT flag to output frames
In case of DX11 device type, Media SDK is sensitive to these flags. Signed-off-by: Artem Galin <artem.galin@intel.com>
This commit is contained in:
parent
a611c35001
commit
36166cc304
@ -527,7 +527,7 @@ static int init_vpp_session(AVFilterContext *avctx, QSVVPPContext *s)
|
||||
|
||||
s->out_mem_mode = IS_OPAQUE_MEMORY(s->in_mem_mode) ?
|
||||
MFX_MEMTYPE_OPAQUE_FRAME :
|
||||
MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET;
|
||||
MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET | MFX_MEMTYPE_FROM_VPPOUT;
|
||||
|
||||
out_frames_ctx = (AVHWFramesContext *)out_frames_ref->data;
|
||||
out_frames_hwctx = out_frames_ctx->hwctx;
|
||||
|
Loading…
Reference in New Issue
Block a user