summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/libmpv_gpu.h
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-03-12 10:54:23 -0800
committerPhilip Langdale <github.philipl@overt.org>2023-05-28 15:46:05 -0700
commit085f3e31a091daf7d6649508b162cfcde826702a (patch)
tree50eb9dc75c2c9071cad2b0e77baba4e97f1cb911 /video/out/gpu/libmpv_gpu.h
parent959ef843d2752e802874b265b21ee6542388a019 (diff)
downloadmpv-085f3e31a091daf7d6649508b162cfcde826702a.tar.bz2
mpv-085f3e31a091daf7d6649508b162cfcde826702a.tar.xz
vo: hwdec: Pass the ra_ctx to hwdecs instead of just the ra
We will need the full ra_ctx to be able to look up all the state required to initialise an ffmpeg vulkan hwcontext, so pass let's pass the ra_ctx instead of just the ra.
Diffstat (limited to 'video/out/gpu/libmpv_gpu.h')
-rw-r--r--video/out/gpu/libmpv_gpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/libmpv_gpu.h b/video/out/gpu/libmpv_gpu.h
index 2c9f712fce..497dcc3f69 100644
--- a/video/out/gpu/libmpv_gpu.h
+++ b/video/out/gpu/libmpv_gpu.h
@@ -9,7 +9,7 @@ struct libmpv_gpu_context {
struct mp_log *log;
const struct libmpv_gpu_context_fns *fns;
- struct ra *ra;
+ struct ra_ctx *ra_ctx;
void *priv;
};