From 6c3d25e6f5f09a110ad0fffaeeea6a65ee5d228b Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Sep 2014 00:49:55 +0200 Subject: 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. --- sub/osd_dummy.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sub/osd_dummy.c') diff --git a/sub/osd_dummy.c b/sub/osd_dummy.c index 6fc78ab368..b9178e1925 100644 --- a/sub/osd_dummy.c +++ b/sub/osd_dummy.c @@ -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) { } -- cgit v1.2.3