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

MediaPlayer: Allow construction with a const Instance&

parent 0c7d3968
No related branches found
Tags 3.3.2 tv3.3.2
1 merge request!29MediaPlayer: Allow construction with a const Instance&
Pipeline #240344 passed with stage
in 25 seconds
......@@ -103,7 +103,7 @@ public:
*
* \param p_md the media. Afterwards the p_md can be safely destroyed.
*/
MediaPlayer( Instance& inst, Media& md )
MediaPlayer( const Instance& inst, Media& md )
: Internal{ libvlc_media_player_new_from_media(
getInternalPtr<libvlc_instance_t>( inst ),
getInternalPtr<libvlc_media_t>( md ) ),
......
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