[vlc-commits] input: add input_AddSlave

Thomas Guillem git at videolan.org
Tue May 31 16:23:35 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 27 11:41:20 2016 +0200| [c46ebe14dec6b2047508303236d7f0d63ed455ab] | committer: Thomas Guillem

input: add input_AddSlave

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

 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.



More information about the vlc-commits mailing list