diff options
author | Zhong Li <zhong.li@intel.com> | 2019-09-20 04:45:27 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-09-26 13:44:11 +0800 |
commit | 525de9567903e32b6ee2dc594bd55c26581029dd (patch) | |
tree | 475669cb1b6e1c05eb0e832a763669ea05d77811 /libavcodec/qsvdec.c | |
parent | 74007dd86a87289a075926704fae5bd8ef313bb5 (diff) | |
download | ffmpeg-525de9567903e32b6ee2dc594bd55c26581029dd.tar.gz |
lavc/qsv: add memory type message
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavcodec/qsvdec.c')
-rw-r--r-- | libavcodec/qsvdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index 2fce478d63..9299596e33 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -193,6 +193,8 @@ static int qsv_decode_preinit(AVCodecContext *avctx, QSVContext *q, enum AVPixel iopattern = MFX_IOPATTERN_OUT_SYSTEM_MEMORY; q->iopattern = iopattern; + ff_qsv_print_iopattern(avctx, q->iopattern, "Decoder"); + ret = qsv_init_session(avctx, q, session, avctx->hw_frames_ctx, avctx->hw_device_ctx); if (ret < 0) { av_log(avctx, AV_LOG_ERROR, "Error initializing an MFX session\n"); |