summaryrefslogtreecommitdiffstats
path: root/sub/osd_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd_dummy.c')
-rw-r--r--sub/osd_dummy.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sub/osd_dummy.c b/sub/osd_dummy.c
index 796d954c08..0e6b802cef 100644
--- a/sub/osd_dummy.c
+++ b/sub/osd_dummy.c
@@ -4,7 +4,7 @@
#include "config.h"
#include "mpv_talloc.h"
-#include "osd.h"
+#include "osd_state.h"
void osd_init_backend(struct osd_state *osd)
{
@@ -28,3 +28,9 @@ void osd_set_external(struct osd_state *osd, void *id, int res_x, int res_y,
char *text)
{
}
+
+void osd_get_text_size(struct osd_state *osd, int *out_screen_h, int *out_font_h)
+{
+ *out_screen_h = 0;
+ *out_font_h = 0;
+}