Skip to content
Snippets Groups Projects
Commit c7ace350 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

MediaListPlayer: Accept a temporary instance

parent ce665381
No related branches found
No related tags found
1 merge request!19Accept temporary VLC::Instance to construct other objects
......@@ -53,7 +53,7 @@ public:
*
* \param p_instance libvlc instance
*/
MediaListPlayer(Instance& instance)
MediaListPlayer(const Instance& instance)
: Internal{ libvlc_media_list_player_new( getInternalPtr<libvlc_instance_t>( instance ) ),
libvlc_media_list_player_release }
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment