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.h | |
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.h')
-rw-r--r-- | sub/osd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -219,6 +219,8 @@ void osd_destroy_backend(struct osd_state *osd); // doesn't need locking void osd_get_function_sym(char *buffer, size_t buffer_size, int osd_function); +extern const char *osd_ass_0; +extern const char *osd_ass_1; // defined in backend, but locks if required void osd_object_get_resolution(struct osd_state *osd, int obj, |