mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
6c3d25e6f5
We don't allow this by default, because it would be silly if random external data (like filenames or file tags) could accidentally trigger them. Add a property that magically disables this ASS tag escaping. Note that malicious input could still disable ASS tag escaping by itself. This would be annoying but harmless.
36 lines
695 B
C
36 lines
695 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include "config.h"
|
|
#include "talloc.h"
|
|
#include "osd.h"
|
|
|
|
const char *osd_ass_0 = "";
|
|
const char *osd_ass_1 = "";
|
|
|
|
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,
|
|
struct sub_bitmaps *out_imgs)
|
|
{
|
|
*out_imgs = (struct sub_bitmaps) {0};
|
|
}
|
|
|
|
void osd_object_get_resolution(struct osd_state *osd, int obj,
|
|
int *out_w, int *out_h)
|
|
{
|
|
*out_w = 0;
|
|
*out_h = 0;
|
|
}
|