Logo: Correction spotted by ILEoo and patched by Bernie Purcell.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 21 Jun 2007 06:34:14 +0000 (06:34 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 21 Jun 2007 06:34:14 +0000 (06:34 +0000)
modules/video_filter/logo.c

index 4dc19ec..d13b6ee 100644 (file)
@@ -882,14 +882,14 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     /*  where to locate the logo: */
     if( p_sys->posx < 0 || p_sys->posy < 0 )
     {   /* set to one of the 9 relative locations */
-        p_spu->p_region->i_align = p_sys->pos;
+        p_region->i_align = p_sys->pos;
         p_spu->i_x = 0;
         p_spu->i_y = 0;
         p_spu->b_absolute = VLC_FALSE;
     }
     else
     {   /*  set to an absolute xy, referenced to upper left corner */
-        p_spu->p_region->i_align = OSD_ALIGN_LEFT | OSD_ALIGN_TOP;
+        p_region->i_align = OSD_ALIGN_LEFT | OSD_ALIGN_TOP;
         p_spu->i_x = p_sys->posx;
         p_spu->i_y = p_sys->posy;
         p_spu->b_absolute = VLC_TRUE;