[vlc-commits] Revert "input: Add a synchronous control helper"

Thomas Guillem git at videolan.org
Fri Feb 28 20:46:52 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 28 13:40:50 2020 +0100| [f658632d480101dbcdfb7cca7cb6d786d8a24615] | committer: Thomas Guillem

Revert "input: Add a synchronous control helper"

This reverts commit 9ff7854e2a73d37faf4ae95f81ba082d25810643.

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

 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 098f96b3a8..4955a499aa 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 49c6cfc6d5..324f891eb8 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
  *



More information about the vlc-commits mailing list