diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 9b6040ba9e..6228c04de5 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -1035,6 +1035,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);