[vlc-commits] [Git][videolan/libvlcpp][master] MediaPlayer: Expose setRenderer method

Hugo Beauzée-Luyssen gitlab at videolan.org
Fri Mar 9 09:31:29 CET 2018


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


Commits:
9bc01a71 by Hugo Beauzée-Luyssen at 2018-03-09T09:31:22+01:00
MediaPlayer: Expose setRenderer method

- - - - -


2 changed files:

- vlcpp/MediaPlayer.hpp
- vlcpp/vlc.hpp


Changes:

=====================================
vlcpp/MediaPlayer.hpp
=====================================
--- a/vlcpp/MediaPlayer.hpp
+++ b/vlcpp/MediaPlayer.hpp
@@ -1694,6 +1694,11 @@ public:
             static_cast<const libvlc_video_viewpoint_t*>( &viewpoint ), b_absolute ) == 0;
     }
 
+    bool setRenderer( const RendererDiscoverer::Item& rendererItem )
+    {
+        return libvlc_media_player_set_renderer( *this, rendererItem ) == 0;
+    }
+
 #endif
 
 private:


=====================================
vlcpp/vlc.hpp
=====================================
--- a/vlcpp/vlc.hpp
+++ b/vlcpp/vlc.hpp
@@ -30,9 +30,9 @@
 #include "MediaDiscoverer.hpp"
 #include "Media.hpp"
 #include "MediaList.hpp"
+#include "RendererDiscoverer.hpp"
 #include "MediaPlayer.hpp"
 #include "MediaLibrary.hpp"
-#include "RendererDiscoverer.hpp"
 #include "EventManager.hpp"
 #include "structures.hpp"
 



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/9bc01a71eb53d03645d1ff2a85c556a7f1e3f5ae

---
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/9bc01a71eb53d03645d1ff2a85c556a7f1e3f5ae
You're receiving this email because of your account on code.videolan.org.


More information about the vlc-commits mailing list