[vlc-commits] [Git][videolan/libvlcpp][master] cppcx: Update addSlave prototype

Hugo Beauzée-Luyssen gitlab at videolan.org
Wed Jun 8 11:15:15 CEST 2016


Hugo Beauzée-Luyssen pushed to branch master at videolan / libvlcpp


Commits:
a7f07552 by Hugo Beauzée-Luyssen at 2016-06-08T11:14:34+02:00
cppcx: Update addSlave prototype

- - - - -


2 changed files:

- cppcx/MediaPlayerCX.cpp
- cppcx/MediaPlayerCX.hpp


Changes:

=====================================
cppcx/MediaPlayerCX.cpp
=====================================
--- a/cppcx/MediaPlayerCX.cpp
+++ b/cppcx/MediaPlayerCX.cpp
@@ -403,9 +403,9 @@ namespace libVLCX
         return m_mp.setSpu(i_spu);
     }
 
-    bool MediaPlayer::addSlave(SlaveType type, Platform::String^ uri)
+    bool MediaPlayer::addSlave(SlaveType type, Platform::String^ uri, bool select)
     {
-        return m_mp.addSlave(static_cast<VLC::MediaSlave::Type>(type), VLCString(uri));
+        return m_mp.addSlave(static_cast<VLC::MediaSlave::Type>(type), VLCString(uri), select);
     }
 
     int64_t MediaPlayer::spuDelay()


=====================================
cppcx/MediaPlayerCX.hpp
=====================================
--- a/cppcx/MediaPlayerCX.hpp
+++ b/cppcx/MediaPlayerCX.hpp
@@ -855,7 +855,7 @@ namespace libVLCX
         */
         int setSpu(int i_spu);
 
-        bool addSlave(SlaveType type, Platform::String^ uri);
+        bool addSlave(SlaveType type, Platform::String^ uri, bool select);
 
         /**
         * Get the current subtitle delay. Positive values means subtitles are



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/a7f07552497f68e420a2453e9784e7c012d98cfc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-commits/attachments/20160608/bc70def2/attachment-0001.html>


More information about the vlc-commits mailing list