aboutsummaryrefslogtreecommitdiffhomepage
path: root/sub/osd_dummy.c
blob: 0e6b802cef1b1664b5bb5f34a9ff924da50fc7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "config.h"
#include "mpv_talloc.h"
#include "osd_state.h"

void osd_init_backend(struct osd_state *osd)
{
}

void osd_destroy_backend(struct osd_state *osd)
{
}

void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function)
{
}

void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj,
                            int format, struct sub_bitmaps *out_imgs)
{
    *out_imgs = (struct sub_bitmaps) {0};
}

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;
}