diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-16 20:03:08 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-18 14:58:09 +0200 |
commit | e990fb2ffeaa786339895c8f3b3f104ef536bf39 (patch) | |
tree | 383aaa216cd5d1f7c4dd75f7c27cfbaadaa7970a /mp_core.h | |
parent | 8636eb77c5f9f1e49a12e3e1653fe4c2e8e0bfc3 (diff) | |
download | mpv-e990fb2ffeaa786339895c8f3b3f104ef536bf39.tar.bz2 mpv-e990fb2ffeaa786339895c8f3b3f104ef536bf39.tar.xz |
subtitles: add framework for subtitle decoders
Add a framework for subtitle decoder modules that work more like
audio/video decoders do, and change libass rendering of demuxed
subtitles to use the new framework.
The old subtitle code is messy, with details specific to handling
particular subtitle types spread over high-level code. This should
make it easier to clean things up and fix some bugs/limitations.
Diffstat (limited to 'mp_core.h')
-rw-r--r-- | mp_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ #define INITIALIZED_DEMUXER 512 #define INITIALIZED_ACODEC 1024 #define INITIALIZED_VCODEC 2048 +#define INITIALIZED_SUB 4096 #define INITIALIZED_ALL 0xFFFF |