summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-14 14:55:49 +0200
committerDudemanguy <random342@airmail.cc>2023-10-14 14:02:54 +0000
commitfd46070490c0178e9880dd89284c8861549a01d3 (patch)
treefd8935a49205596fb9e7759e2629f6b2c0e6c785
parent991f834e9ed8b76c70c1ab59cbb47325b5d7bcaa (diff)
downloadmpv-fd46070490c0178e9880dd89284c8861549a01d3.tar.bz2
mpv-fd46070490c0178e9880dd89284c8861549a01d3.tar.xz
hwdec_dxva2egl: fix log value type
Fixes type mismatch after recent changes. Fixes: 59dd7d94af7651baf7e60966c5f8e7d52959d958
-rw-r--r--video/out/opengl/hwdec_dxva2egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_dxva2egl.c b/video/out/opengl/hwdec_dxva2egl.c
index 0ca10ef7af..acf3ec00c4 100644
--- a/video/out/opengl/hwdec_dxva2egl.c
+++ b/video/out/opengl/hwdec_dxva2egl.c
@@ -353,7 +353,7 @@ static int mapper_map(struct ra_hwdec_mapper *mapper)
} else if (hr == S_FALSE) {
if (++retries > max_retries) {
MP_VERBOSE(mapper, "Failed to flush frame after %lld ms\n",
- (long long)(wait_ns * max_retries) / 1e6);
+ (long long)(wait_ns * max_retries) / 1000000);
break;
}
mp_sleep_ns(wait_ns);