rss.c: Using [19378] (visible region persitence in freetype font renderer), only...
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 21 Mar 2007 22:14:46 +0000 (22:14 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 21 Mar 2007 22:14:46 +0000 (22:14 +0000)
modules/video_filter/rss.c

index 5746e07..c1002d1 100644 (file)
@@ -471,6 +471,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     }
 
     p_spu->p_region->psz_text = strdup(p_sys->psz_marquee);
+    if( p_sys->p_style->i_font_size > 0 )
+        p_spu->p_region->fmt.i_visible_height = p_sys->p_style->i_font_size;
     p_spu->i_start = date;
     p_spu->i_stop  = 0;
     p_spu->b_ephemer = VLC_TRUE;