summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2021-04-09 09:14:54 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2021-11-03 14:09:27 +0100
commit9d5d9b24240efe98cf99bbda2cb5280b025506d8 (patch)
treec76c6f2437804732d84d18bd91a41641fc5bdd77 /video/out/vo.c
parent872015813c6e181900faab5d1e53bb636bf8757f (diff)
downloadmpv-9d5d9b24240efe98cf99bbda2cb5280b025506d8.tar.bz2
mpv-9d5d9b24240efe98cf99bbda2cb5280b025506d8.tar.xz
vo_gpu_next: add new libplacebo-based renderer
As discussed in #8799, this will eventually replace vo_gpu. However, it is not yet complete. Currently missing: - OpenGL contexts - hardware decoding - blend-subtitles=video - VOCTRL_SCREENSHOT However, it's usable enough to cover most use cases, and as such is enough to start getting in some crucial testing.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 4cb15123ab..80fcaad4d0 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -52,6 +52,7 @@ extern const struct vo_driver video_out_x11;
extern const struct vo_driver video_out_vdpau;
extern const struct vo_driver video_out_xv;
extern const struct vo_driver video_out_gpu;
+extern const struct vo_driver video_out_gpu_next;
extern const struct vo_driver video_out_libmpv;
extern const struct vo_driver video_out_null;
extern const struct vo_driver video_out_image;
@@ -73,6 +74,9 @@ const struct vo_driver *const video_out_drivers[] =
&video_out_mediacodec_embed,
#endif
&video_out_gpu,
+#if HAVE_LIBPLACEBO_V4
+ &video_out_gpu_next,
+#endif
#if HAVE_VDPAU
&video_out_vdpau,
#endif