diff options
author | Artem Galin <artem.galin@intel.com> | 2021-08-20 22:48:07 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-09-08 17:48:32 -0300 |
commit | 36166cc304975918da201de48987e9e898ae8021 (patch) | |
tree | 69316f23b999401c6f0304604703c3b0d7ed0d81 /libavfilter | |
parent | a611c35001f477f1c911027faa93cddf67874693 (diff) | |
download | ffmpeg-36166cc304975918da201de48987e9e898ae8021.tar.gz |
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>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/qsvvpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c index 66b8673d4e..135d4c4e36 100644 --- a/libavfilter/qsvvpp.c +++ b/libavfilter/qsvvpp.c @@ -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; |