[vlc-commits] aout: remove transitional aout_filter_PutVout()

Rémi Denis-Courmont git at videolan.org
Fri Jan 18 22:13:10 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 18 23:10:01 2019 +0200| [eaac577868d0e47605c4d3825e5403cff5c8b21f] | committer: Rémi Denis-Courmont

aout: remove transitional aout_filter_PutVout()

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

 include/vlc_aout.h         | 1 -
 src/audio_output/filters.c | 6 ------
 src/libvlccore.sym         | 1 -
 3 files changed, 8 deletions(-)

diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 433bbee117..11209ee0ce 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -508,7 +508,6 @@ VLC_API void     aout_FiltersFlush(aout_filters_t *);
 VLC_API void     aout_FiltersChangeViewpoint(aout_filters_t *, const vlc_viewpoint_t *vp);
 
 VLC_API vout_thread_t *aout_filter_GetVout(filter_t *, const video_format_t *);
-VLC_API void aout_filter_PutVout(filter_t *, vout_thread_t *p_vout);
 
 /** @} */
 
diff --git a/src/audio_output/filters.c b/src/audio_output/filters.c
index eea2dedb33..504257042b 100644
--- a/src/audio_output/filters.c
+++ b/src/audio_output/filters.c
@@ -390,12 +390,6 @@ vout_thread_t *aout_filter_GetVout(filter_t *filter, const video_format_t *fmt)
     return vout_Request(VLC_OBJECT(filter), &cfg, NULL);
 }
 
-void aout_filter_PutVout(filter_t *filter, vout_thread_t *vout)
-{
-    assert(vout->obj.parent == VLC_OBJECT(filter));
-    vout_Close(vout);
-}
-
 static int AppendFilter(vlc_object_t *obj, const char *type, const char *name,
                         aout_filters_t *restrict filters,
                         audio_sample_format_t *restrict infmt,
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 2c6977f5b2..a7bf98ecc1 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -10,7 +10,6 @@ aout_EnableFilter
 aout_Interleave
 aout_Deinterleave
 aout_filter_GetVout
-aout_filter_PutVout
 aout_FormatPrepare
 aout_FormatPrint
 aout_FormatPrintChannels



More information about the vlc-commits mailing list