diff options
author | Zhong Li <zhong.li@intel.com> | 2017-12-28 17:38:32 +0800 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-12-29 16:12:16 +0000 |
commit | e23190269fb6e8217d080918893641ba3e0e3556 (patch) | |
tree | 957ced1fe7a683ca0e18114a4020afff4a41f9df /libavutil | |
parent | c6558e8840fbb2386bf8742e4d68dd6e067d262e (diff) | |
download | ffmpeg-e23190269fb6e8217d080918893641ba3e0e3556.tar.gz |
lavu/qsv: add log message for libmfx version
It is benefit to diagnose issues related to different libmfx version.
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/hwcontext_qsv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 5018a05b9a..9270b2258f 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -1036,6 +1036,10 @@ static int qsv_device_derive_from_child(AVHWDeviceContext *ctx, goto fail; } + av_log(ctx, AV_LOG_VERBOSE, + "Initialize MFX session: API version is %d.%d, implementation version is %d.%d\n", + MFX_VERSION_MAJOR, MFX_VERSION_MINOR, ver.Major, ver.Minor); + MFXClose(hwctx->session); err = MFXInit(implementation, &ver, &hwctx->session); |