Hugo Beauzée-Luyssen pushed to branch master at videolan / libvlcpp
Commits:
a6c6573a by Hugo Beauzée-Luyssen at 2016-06-08T10:57:16+02:00
MediaPlayer: Update addSlave prototype
- - - - -
1 changed file:
- vlcpp/MediaPlayer.hpp
Changes:
=====================================
vlcpp/MediaPlayer.hpp
=====================================
--- a/vlcpp/MediaPlayer.hpp
+++ b/vlcpp/MediaPlayer.hpp
@@ -1671,13 +1671,14 @@ public:
*
* \param type subtitle or audio
* \param uri Uri of the slave (should contain a valid scheme).
+ * \param select True if this slave should be selected when it's loaded
*
* \return true on success, false on error.
*/
- bool addSlave( MediaSlave::Type type, const std::string& uri )
+ bool addSlave( MediaSlave::Type type, const std::string& uri, bool select )
{
return libvlc_media_player_add_slave( *this,
- static_cast<libvlc_media_slave_type_t>( type ),
uri.c_str() ) == 0;
+ static_cast<libvlc_media_slave_type_t>( type ),
uri.c_str(), select ) == 0;
}
#endif
View it on GitLab:
https://code.videolan.org/videolan/libvlcpp/commit/a6c6573aea233888d2553bb1f1cec17ee20e5016
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits