summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-08 12:46:20 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-08 12:46:20 +0000
commit87340de57f001076cd8bac0f7b638cc667bf17c3 (patch)
treeb39d904015cdc38864319ea10c67b36b01ac67c6 /mplayer.c
parente779ddad56b417de517d7d663333fa605825e096 (diff)
downloadmpv-87340de57f001076cd8bac0f7b638cc667bf17c3.tar.bz2
mpv-87340de57f001076cd8bac0f7b638cc667bf17c3.tar.xz
Clear fonts when the file is closed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25650 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 6fb986a1a7..895f5c1da1 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3664,6 +3664,8 @@ uninit_player(INITED_ALL-(INITED_GUI+INITED_INPUT+(fixed_vo?INITED_VO:0)));
subdata=NULL;
#ifdef USE_ASS
ass_track = NULL;
+ if (ass_library)
+ ass_clear_fonts(ass_library);
#endif
if(mpctx->eof == PT_NEXT_ENTRY || mpctx->eof == PT_PREV_ENTRY) {