[vlc-commits] input: remove unused input_resource_TerminateVout() function

Thomas Guillem git at videolan.org
Fri Jun 28 09:11:11 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jun 27 10:09:57 2019 +0200| [6699b98a85bb861f35b43e957ed1b3259da8c642] | committer: Thomas Guillem

input: remove unused input_resource_TerminateVout() function

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

 include/vlc_decoder.h |  5 -----
 src/input/resource.c  | 11 -----------
 src/libvlccore.sym    |  1 -
 3 files changed, 17 deletions(-)

diff --git a/include/vlc_decoder.h b/include/vlc_decoder.h
index 01c5105c31..a2ab48d2c6 100644
--- a/include/vlc_decoder.h
+++ b/include/vlc_decoder.h
@@ -60,11 +60,6 @@ VLC_API input_resource_t * input_resource_New( vlc_object_t * ) VLC_USED;
 VLC_API void input_resource_Release( input_resource_t * );
 
 /**
- * Forcefully destroys the video output (e.g. when the playlist is stopped).
- */
-VLC_API void input_resource_TerminateVout( input_resource_t * );
-
-/**
  * \return the current audio output if any.
  * Use aout_Release() to drop the reference.
  */
diff --git a/src/input/resource.c b/src/input/resource.c
index 63f9e83c65..b4ffbd68ce 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -495,17 +495,6 @@ exit:
     vlc_mutex_unlock( &p_resource->lock_hold );
 }
 
-void input_resource_TerminateVout( input_resource_t *p_resource )
-{
-    vlc_mutex_lock(&p_resource->lock);
-    if (p_resource->p_vout_free != NULL)
-    {
-        msg_Dbg(p_resource->p_vout_free, "destroying useless vout");
-        DestroyVout(p_resource);
-    }
-    vlc_mutex_unlock(&p_resource->lock);
-}
-
 void input_resource_StopFreeVout(input_resource_t *p_resource)
 {
     vlc_mutex_lock(&p_resource->lock);
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 3f506ca65b..662ad6d3d3 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -208,7 +208,6 @@ input_item_parser_id_Interrupt
 input_item_parser_id_Release
 input_resource_New
 input_resource_Release
-input_resource_TerminateVout
 input_resource_GetAout
 input_resource_HoldAout
 input_resource_PutAout



More information about the vlc-commits mailing list