summaryrefslogtreecommitdiff
path: root/ytdlsb-mpv.h
diff options
context:
space:
mode:
Diffstat (limited to 'ytdlsb-mpv.h')
-rw-r--r--ytdlsb-mpv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ytdlsb-mpv.h b/ytdlsb-mpv.h
new file mode 100644
index 0000000..11a0562
--- /dev/null
+++ b/ytdlsb-mpv.h
@@ -0,0 +1,8 @@
+#include <mpv/client.h>
+
+int ytdlsb_mpv_overlay_add(mpv_handle *m,
+ int id, int x, int y,
+ char *buf, size_t off, size_t w, size_t h, size_t stride,
+ size_t dw, size_t dh
+);
+int ytdlsb_mpv_overlay_remove(mpv_handle *m, int id);