]> git.sesse.net Git - vlc/commitdiff
Set style in mediacontrol_showtext()
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 30 May 2008 18:28:01 +0000 (11:28 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 30 May 2008 18:28:22 +0000 (11:28 -0700)
src/control/mediacontrol_audio_video.c

index 36e23cdc9e37baedd813823bd588a67290f0dc2c..c6f506e8bdd40747dd62ef3c4b197283f0416f9b 100644 (file)
@@ -149,6 +149,7 @@ int mediacontrol_showtext( vout_thread_t *p_vout, int i_channel,
 
     p_spu->p_region->psz_text = strdup( psz_string );
     p_spu->p_region->i_align = i_flags & SUBPICTURE_ALIGN_MASK;
+    p_spu->p_region->p_style = p_style;
     p_spu->i_start = i_start;
     p_spu->i_stop = i_stop;
     p_spu->b_ephemer = false;