[vlc-commits] Remove unused filter_chain_AudioFilter()

Rémi Denis-Courmont git at videolan.org
Mon Dec 12 19:53:39 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 12 19:41:34 2016 +0200| [ba6144f7f422ea2feaf1879d0ddaac395572e4a3] | committer: Rémi Denis-Courmont

Remove unused filter_chain_AudioFilter()

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

 include/vlc_filter.h    | 11 -----------
 src/libvlccore.sym      |  1 -
 src/misc/filter_chain.c | 14 --------------
 3 files changed, 26 deletions(-)

diff --git a/include/vlc_filter.h b/include/vlc_filter.h
index 0301930..d5a8c8b 100644
--- a/include/vlc_filter.h
+++ b/include/vlc_filter.h
@@ -373,17 +373,6 @@ VLC_API picture_t *filter_chain_VideoFilter(filter_chain_t *chain,
 VLC_API void filter_chain_VideoFlush( filter_chain_t * );
 
 /**
- * Apply the filter chain to a audio block.
- * \bug Deal with block chains and document.
- *
- * \param chain pointer to filter chain
- * \param block audio frame to apply filters on
- * \return modified audio frame after applying all audio filters
- */
-VLC_API block_t *filter_chain_AudioFilter(filter_chain_t *chain,
-                                          block_t *block);
-
-/**
  * Generate subpictures from a chain of subpicture source "filters".
  *
  * \param chain filter chain
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index b4e37e4..5ffd413 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -110,7 +110,6 @@ es_format_IsSimilar
 filter_Blend
 filter_chain_AppendFilter
 filter_chain_AppendFromString
-filter_chain_AudioFilter
 filter_chain_Delete
 filter_chain_DeleteFilter
 filter_chain_GetFmtOut
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 49debed..6def304 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -423,20 +423,6 @@ void filter_chain_VideoFlush( filter_chain_t *p_chain )
     }
 }
 
-
-block_t *filter_chain_AudioFilter( filter_chain_t *p_chain, block_t *p_block )
-{
-    for( chained_filter_t *f = p_chain->first; f != NULL; f = f->next )
-    {
-        filter_t *p_filter = &f->filter;
-
-        p_block = p_filter->pf_audio_filter( p_filter, p_block );
-        if( !p_block )
-            break;
-    }
-    return p_block;
-}
-
 void filter_chain_SubSource( filter_chain_t *p_chain, spu_t *spu,
                              mtime_t display_date )
 {



More information about the vlc-commits mailing list