summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-dummy.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:13:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:13:14 +0000
commit5a3b54c78ce63d899f76dbb3db72e4894b40bd53 (patch)
tree50693d13eeefc4d683bdf5417f0861b0ef274a0c /osdep/terminal-dummy.c
parentAdding debian version 0.37.0-1. (diff)
downloadmpv-5a3b54c78ce63d899f76dbb3db72e4894b40bd53.tar.xz
mpv-5a3b54c78ce63d899f76dbb3db72e4894b40bd53.zip
Merging upstream version 0.38.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'osdep/terminal-dummy.c')
-rw-r--r--osdep/terminal-dummy.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/osdep/terminal-dummy.c b/osdep/terminal-dummy.c
index 4b33d78..8ae6c64 100644
--- a/osdep/terminal-dummy.c
+++ b/osdep/terminal-dummy.c
@@ -1,5 +1,7 @@
#include "terminal.h"
+#include "misc/bstr.h"
+
void terminal_init(void)
{
}
@@ -25,8 +27,14 @@ void terminal_get_size2(int *rows, int *cols, int *px_width, int *px_height)
{
}
-void mp_write_console_ansi(void *wstream, char *buf)
+int mp_console_vfprintf(void *wstream, const char *format, va_list args)
+{
+ return 0;
+}
+
+int mp_console_write(void *wstream, bstr str)
{
+ return 0;
}
bool terminal_try_attach(void)