[vlc-devel] [PATCH 5/5] input: remove unused input_resource_TerminateVout() function
Thomas Guillem
thomas at gllm.fr
Thu Jun 27 10:14:54 CEST 2019
---
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
@@ -59,11 +59,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
--
2.20.1
More information about the vlc-devel
mailing list