Reset outline glyph cache when configuration changes.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 21 Apr 2007 10:43:19 +0000 (10:43 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 21 Apr 2007 10:43:19 +0000 (10:43 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@23052 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_render.c

index f0c62a6..763f548 100644 (file)
@@ -1987,6 +1987,7 @@ void ass_free_images(ass_image_t* img)
 static void ass_reconfigure(ass_renderer_t* priv)
 {
        priv->render_id = ++last_render_id;
+       ass_glyph_cache_reset();
        ass_bitmap_cache_reset();
        ass_free_images(priv->prev_images_root);
        priv->prev_images_root = 0;