mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-06 06:44:29 +00:00
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>
This commit is contained in:
parent
c6558e8840
commit
e23190269f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user