[vlc-devel] [PATCH 2/4] input: add input_AddSlave

Thomas Guillem thomas at gllm.fr
Fri May 27 12:45:14 CEST 2016


---
 include/vlc_input.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 083c654..7633e9d 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -603,6 +603,12 @@ static inline int input_AddSubtitleOSD( input_thread_t *p_input, const char *psz
 }
 #define input_AddSubtitle(a, b, c) input_AddSubtitleOSD(a, b, c, false)
 
+static inline int input_AddSlave( input_thread_t *p_input, enum slave_type type,
+                                  const char *psz_uri )
+{
+    return input_Control( p_input, INPUT_ADD_SLAVE, type, psz_uri );
+}
+
 
 /**
  * Return the audio output (if any) associated with an input.
-- 
2.8.1



More information about the vlc-devel mailing list