[vlc-devel] [PATCH 6/6] Revert "input: Add a synchronous control helper"

Thomas Guillem thomas at gllm.fr
Fri Feb 28 13:47:31 CET 2020


This reverts commit 9ff7854e2a73d37faf4ae95f81ba082d25810643.
---
 src/input/input.c          | 6 ------
 src/input/input_internal.h | 5 -----
 2 files changed, 11 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 098f96b3a8e..4955a499aa8 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1821,12 +1821,6 @@ static void ControlInsertDemuxFilter( input_thread_t* p_input, const char* psz_d
         msg_Dbg(p_input, "Failed to create demux filter %s", psz_demux_chain);
 }
 
-void input_ControlSync(input_thread_t *p_input, int i_type,
-                       const input_control_param_t* param )
-{
-    assert( !input_priv(p_input)->is_running );
-    Control( p_input, i_type, *param );
-}
 
 void input_SetEsCatIds(input_thread_t *input, enum es_format_category_e cat,
                        const char *str_ids)
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 49c6cfc6d58..324f891eb84 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -636,11 +636,6 @@ static inline int input_ControlPushEsHelper( input_thread_t *p_input, int i_type
     } );
 }
 
-/** Synchronously execute a control sequence. This MUST only be used before the
- * input is started
- */
-void input_ControlSync(input_thread_t *, int, const input_control_param_t *);
-
 /**
  * Set the list of string ids to enable for a category
  *
-- 
2.20.1



More information about the vlc-devel mailing list