summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorMia Herkt <mia@0x0.st>2022-12-13 15:58:13 +0100
committerMia Herkt <mia@0x0.st>2022-12-21 19:39:30 +0100
commit874e28f4a41a916bb567a882063dd2589e9234e1 (patch)
treee2f221d210bc84614bd8b35ef7e54681abf45bb2 /video/out/vo.c
parent7614e68233a0db1803f807afd47a52c66b4ebb3a (diff)
downloadmpv-874e28f4a41a916bb567a882063dd2589e9234e1.tar.bz2
mpv-874e28f4a41a916bb567a882063dd2589e9234e1.tar.xz
vo_kitty: Introduce modern sixel alternative
See https://sw.kovidgoyal.net/kitty/graphics-protocol/ This makes no attempt at querying terminal features or handling terminal errors, as it would require mpv to pass the response codes from the terminal to the vo instead of interpreting them as keystrokes made by the user and acting very unpredictably. Tested with kitty and konsole. Fixes #9605
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 4e999d0754..a5458b593e 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -67,6 +67,7 @@ extern const struct vo_driver video_out_wlshm;
extern const struct vo_driver video_out_rpi;
extern const struct vo_driver video_out_tct;
extern const struct vo_driver video_out_sixel;
+extern const struct vo_driver video_out_kitty;
const struct vo_driver *const video_out_drivers[] =
{
@@ -118,6 +119,7 @@ const struct vo_driver *const video_out_drivers[] =
#if HAVE_SIXEL
&video_out_sixel,
#endif
+ &video_out_kitty,
&video_out_lavc,
NULL
};