diff options
author | wm4 <wm4@nowhere> | 2014-09-18 00:49:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-18 00:49:55 +0200 |
commit | 6c3d25e6f5f09a110ad0fffaeeea6a65ee5d228b (patch) | |
tree | e904c8cd346ccbd640412d1e9f628fff9197b526 /sub/osd_dummy.c | |
parent | a522441bbe6817798ca58b93d7adb180a9598640 (diff) | |
download | mpv-6c3d25e6f5f09a110ad0fffaeeea6a65ee5d228b.tar.bz2 mpv-6c3d25e6f5f09a110ad0fffaeeea6a65ee5d228b.tar.xz |
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.
Diffstat (limited to 'sub/osd_dummy.c')
-rw-r--r-- | sub/osd_dummy.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { } |