command: allow using ASS tags on OSD messages

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.
This commit is contained in:
wm4
2014-09-18 00:49:55 +02:00
parent a522441bbe
commit 6c3d25e6f5
5 changed files with 48 additions and 4 deletions

View File

@@ -6,6 +6,9 @@
#include "talloc.h"
#include "osd.h"
const char *osd_ass_0 = "";
const char *osd_ass_1 = "";
void osd_init_backend(struct osd_state *osd)
{
}