filter: use filter_DeleteSubpicture
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 28 Jul 2014 16:56:38 +0000 (19:56 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 28 Jul 2014 18:37:47 +0000 (21:37 +0300)
modules/video_filter/audiobargraph_v.c
modules/video_filter/logo.c
modules/video_filter/marq.c
modules/video_filter/mosaic.c
modules/video_filter/remoteosd.c
modules/video_filter/rss.c

index f779033..5fa71f8 100644 (file)
@@ -400,7 +400,7 @@ static subpicture_t *FilterSub(filter_t *p_filter, mtime_t date)
     p_region = subpicture_region_New(&fmt);
     if (!p_region) {
         msg_Err(p_filter, "cannot allocate SPU region");
-        p_filter->pf_sub_buffer_del(p_filter, p_spu);
+        filter_DeleteSubpicture(p_filter, p_spu);
         p_spu = NULL;
         goto exit;
     }
index 9c566d7..12e14ab 100644 (file)
@@ -390,7 +390,7 @@ static subpicture_t *FilterSub( filter_t *p_filter, mtime_t date )
     if( !p_region )
     {
         msg_Err( p_filter, "cannot allocate SPU region" );
-        p_filter->pf_sub_buffer_del( p_filter, p_spu );
+        filter_DeleteSubpicture( p_filter, p_spu );
         p_spu = NULL;
         goto exit;
     }
index af87d30..550ce7d 100644 (file)
@@ -303,7 +303,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     p_spu->p_region = subpicture_region_New( &fmt );
     if( !p_spu->p_region )
     {
-        p_filter->pf_sub_buffer_del( p_filter, p_spu );
+        filter_DeleteSubpicture( p_filter, p_spu );
         p_spu = NULL;
         goto out;
     }
index a9aef44..7ed5dc4 100644 (file)
@@ -648,7 +648,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
         if( !p_region )
         {
             msg_Err( p_filter, "cannot allocate SPU region" );
-            p_filter->pf_sub_buffer_del( p_filter, p_spu );
+            filter_DeleteSubpicture( p_filter, p_spu );
             vlc_global_unlock( VLC_MOSAIC_MUTEX );
             vlc_mutex_unlock( &p_sys->lock );
             return p_spu;
index 4b73e21..836ade6 100644 (file)
@@ -1131,7 +1131,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     if( !p_region )
     {
         msg_Err( p_filter, "cannot allocate SPU region" );
-        p_filter->pf_sub_buffer_del( p_filter, p_spu );
+        filter_DeleteSubpicture( p_filter, p_spu );
         vlc_mutex_unlock( &p_sys->lock );
         return NULL;
     }
index 9710990..b8b97cd 100644 (file)
@@ -414,7 +414,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     p_spu->p_region = subpicture_region_New( &fmt );
     if( !p_spu->p_region )
     {
-        p_filter->pf_sub_buffer_del( p_filter, p_spu );
+        filter_DeleteSubpicture( p_filter, p_spu );
         vlc_mutex_unlock( &p_sys->lock );
         return NULL;
     }