Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-01-17 01:57:02 +0300
committerMark Thompson <sw@jkqxz.net>2018-01-17 01:57:02 +0300
commitd204b7ff610cb8dac1116e7a4fd3068733cb5adf (patch)
tree2d897473d776b34f3cc2777a745e02259bdaf847 /libavutil/hwcontext_qsv.c
parenta919ab853efcecf89516e703df8018d0649e1143 (diff)
parente23190269fb6e8217d080918893641ba3e0e3556 (diff)
Merge commit 'e23190269fb6e8217d080918893641ba3e0e3556'
* commit 'e23190269fb6e8217d080918893641ba3e0e3556': lavu/qsv: add log message for libmfx version Merged-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavutil/hwcontext_qsv.c')
-rw-r--r--libavutil/hwcontext_qsv.c4
1 files changed, 4 insertions, 0 deletions
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);