mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
f110552898
The intention is to let mp_ass_packer_pack() produce different output for the RGBA and LIBASS formats. VOs (or whatever generates the OSD) currently do not signal a preferred format, and this mechanism just exists to switch between RGBA and LIBASS formats correctly, preferring LIBASS if the VO supports it.
31 lines
615 B
C
31 lines
615 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include "config.h"
|
|
#include "mpv_talloc.h"
|
|
#include "osd.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)
|
|
{
|
|
}
|