[MPlayer-cvslog] r23035 - in trunk/libass: ass_cache.c ass_cache.h ass_render.c

Jindrich Makovicka makovick at gmail.com
Sat Apr 21 12:12:30 CEST 2007


On Sat, 21 Apr 2007 10:53:40 +0200
Jindrich Makovicka <makovick at gmail.com> wrote:

> On Sat, 21 Apr 2007 01:02:20 +0200 (CEST)
> eugeni <subversion at mplayerhq.hu> wrote:
> > @@ -1968,7 +1968,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;
> 
> Seems that both ass_glyph_cache_reset() and ass_bitmap_cache_reset()
> are necessary for me, otherwise fullscreen switching does not work
> correctly - a mixture of large and small letters is displayed after
> the switch.

Also, it looks like there is a memory leak - with -ass, mplayer now eats
about 1-2 megabytes of memory per second when subtitles are displayed.

-- 
Jindrich Makovicka



More information about the MPlayer-cvslog mailing list