diff options
author | Zhong Li <zhong.li@intel.com> | 2019-09-20 04:45:26 +0800 |
---|---|---|
committer | Zhong Li <zhong.li@intel.com> | 2019-09-26 13:44:02 +0800 |
commit | 74007dd86a87289a075926704fae5bd8ef313bb5 (patch) | |
tree | a54016ed4d1874245c468d89bb92594477bd7206 /libavcodec/qsvdec.h | |
parent | b6be2be765b3f9104ca5bc9f608a934db0fc012a (diff) | |
download | ffmpeg-74007dd86a87289a075926704fae5bd8ef313bb5.tar.gz |
lavc/qsv: Fix MSDK initialization failure in system memory mode
MSDK does not create internal acceleration device on Linux,
So MFXVideoCORE_SetHandle() is necessary.
It has been added for ff_qsv_init_session_device().
But missed for ff_qsv_init_internal_session() due to commit
1f26a23 overwrited commit db89f45
Fix #7030
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavcodec/qsvdec.h')
-rw-r--r-- | libavcodec/qsvdec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h index c057bc6722..64dc8d2f47 100644 --- a/libavcodec/qsvdec.h +++ b/libavcodec/qsvdec.h @@ -42,7 +42,7 @@ typedef struct QSVContext { // the session we allocated internally, in case the caller did not provide // one - mfxSession internal_session; + QSVSession internal_qs; QSVFramesContext frames_ctx; |