]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/mosaic.c
Changed subpicture_region_t->picture into a picture_t *
[vlc] / modules / video_filter / mosaic.c
index 661eb77e261cbf7bb3d5068147f40d12d0a79629..169155d7ab023dc364e31fc64e8177033ef204a6 100644 (file)
@@ -642,9 +642,9 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
         }
 
         p_region = p_spu->pf_create_region( VLC_OBJECT(p_filter), &fmt_out );
-        /* XXX That's a pity to do a copy, but it is needed for now */
+        /* FIXME the copy is probably not needed anymore */
         if( p_region )
-            picture_Copy( &p_region->picture, p_converted );
+            picture_Copy( &p_region->p_picture, p_converted );
         if( !p_sys->b_keep )
             picture_Release( p_converted );