[vlc-commits] filter: use filter_DeleteSubpicture

Rémi Denis-Courmont git at videolan.org
Mon Jul 28 23:55:14 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 28 19:56:38 2014 +0300| [777329ab805ba3498dce007efb5f4d1b767bd286] | committer: Rémi Denis-Courmont

filter: use filter_DeleteSubpicture

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=777329ab805ba3498dce007efb5f4d1b767bd286
---

 modules/video_filter/audiobargraph_v.c |    2 +-
 modules/video_filter/logo.c            |    2 +-
 modules/video_filter/marq.c            |    2 +-
 modules/video_filter/mosaic.c          |    2 +-
 modules/video_filter/remoteosd.c       |    2 +-
 modules/video_filter/rss.c             |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/video_filter/audiobargraph_v.c b/modules/video_filter/audiobargraph_v.c
index f779033..5fa71f8 100644
--- a/modules/video_filter/audiobargraph_v.c
+++ b/modules/video_filter/audiobargraph_v.c
@@ -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;
     }
diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c
index 9c566d7..12e14ab 100644
--- a/modules/video_filter/logo.c
+++ b/modules/video_filter/logo.c
@@ -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;
     }
diff --git a/modules/video_filter/marq.c b/modules/video_filter/marq.c
index af87d30..550ce7d 100644
--- a/modules/video_filter/marq.c
+++ b/modules/video_filter/marq.c
@@ -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;
     }
diff --git a/modules/video_filter/mosaic.c b/modules/video_filter/mosaic.c
index a9aef44..7ed5dc4 100644
--- a/modules/video_filter/mosaic.c
+++ b/modules/video_filter/mosaic.c
@@ -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;
diff --git a/modules/video_filter/remoteosd.c b/modules/video_filter/remoteosd.c
index 4b73e21..836ade6 100644
--- a/modules/video_filter/remoteosd.c
+++ b/modules/video_filter/remoteosd.c
@@ -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;
     }
diff --git a/modules/video_filter/rss.c b/modules/video_filter/rss.c
index 9710990..b8b97cd 100644
--- a/modules/video_filter/rss.c
+++ b/modules/video_filter/rss.c
@@ -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;
     }



More information about the vlc-commits mailing list