From 6699b98a85bb861f35b43e957ed1b3259da8c642 Mon Sep 17 00:00:00 2001 From: Thomas Guillem <thomas@gllm.fr> Date: Thu, 27 Jun 2019 10:09:57 +0200 Subject: [PATCH] input: remove unused input_resource_TerminateVout() function --- 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 01c5105c31f3..a2ab48d2c684 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 63f9e83c653f..b4ffbd68ce3d 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 3f506ca65b21..662ad6d3d34b 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 -- GitLab