Commit 9bc01a71 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaPlayer: Expose setRenderer method

parent be5670db
......@@ -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:
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment