summaryrefslogtreecommitdiffstats
path: root/mpvcore/mp_core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-28 23:16:00 +0100
committerwm4 <wm4@nowhere>2013-10-28 23:16:00 +0100
commit40e68d65146518b9db2380a571b7dd6dabcf3585 (patch)
treea41be1534c7dd7074413ea6ddf5f7940d31231ac /mpvcore/mp_core.h
parent96a60e15ce7b813d71f8988a0a938fe98e90d7ca (diff)
downloadmpv-40e68d65146518b9db2380a571b7dd6dabcf3585.tar.bz2
mpv-40e68d65146518b9db2380a571b7dd6dabcf3585.tar.xz
mplayer: handle subtitle renderer cleanup via uninit_player
This might actually fix an issue with DVB channel switching, because that uses some sort of hack to reinitialize the demuxer, which causes the subtitle renderer to initialize twice. As consequence, the assert in add_subtitle_fonts_from_sources() would trigger. I didn't actually test the DVB case, because I don't have the hardware.
Diffstat (limited to 'mpvcore/mp_core.h')
-rw-r--r--mpvcore/mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/mp_core.h b/mpvcore/mp_core.h
index 28f34ee580..6d83be182a 100644
--- a/mpvcore/mp_core.h
+++ b/mpvcore/mp_core.h
@@ -30,6 +30,7 @@
#define INITIALIZED_AO 2
#define INITIALIZED_GETCH2 8
#define INITIALIZED_PLAYBACK 16
+#define INITIALIZED_LIBASS 32
#define INITIALIZED_STREAM 64
#define INITIALIZED_DEMUXER 512
#define INITIALIZED_ACODEC 1024