[vlc-commits] input: remove now unused input_CreateAndStart function

Thomas Guillem git at videolan.org
Wed Jul 11 17:14:53 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jul  6 10:16:59 2018 +0200| [bb2b76ee4064e0223ba69cff046796f7eb83073b] | committer: Thomas Guillem

input: remove now unused input_CreateAndStart function

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

 include/vlc_input.h | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index f22a3716ec..9ded0a16de 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -519,27 +519,6 @@ VLC_API void input_SetTime( input_thread_t *, vlc_tick_t i_time, bool b_fast );
 VLC_API void input_SetPosition( input_thread_t *, float f_position, bool b_fast );
 
 /**
- * Create a new input_thread_t and start it.
- *
- * Provided for convenience.
- *
- * \see input_Create
- */
-static inline
-input_thread_t *input_CreateAndStart( vlc_object_t *parent,
-                                      input_item_t *item, const char *log )
-{
-    input_thread_t *input = input_Create( parent, item, log, NULL, NULL );
-    if( input != NULL && input_Start( input ) )
-    {
-        vlc_object_release( input );
-        input = NULL;
-    }
-    return input;
-}
-#define input_CreateAndStart(a,b,c) input_CreateAndStart(VLC_OBJECT(a),b,c)
-
-/**
  * Get the input item for an input thread
  *
  * You have to keep a reference to the input or to the input_item_t until



More information about the vlc-commits mailing list