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

MediaDiscoverer: Accept a temporary instance

parent c1ee6408
No related branches found
No related tags found
1 merge request!19Accept temporary VLC::Instance to construct other objects
......@@ -88,7 +88,7 @@ public:
*
* \param psz_name service name
*/
MediaDiscoverer(Instance& inst, const std::string& name)
MediaDiscoverer(const Instance& inst, const std::string& name)
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
: Internal{ libvlc_media_discoverer_new(getInternalPtr<libvlc_instance_t>( inst ), name.c_str()),
#else
......
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