Commit 8487c622 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Hugo Beauzée-Luyssen

Require libVLC 3.0 for libvlc_media_get_type

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 06f4f670
......@@ -667,6 +667,7 @@ public:
return std::make_shared<MediaList>( p );
}
#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0)
Type type()
{
return static_cast<Type>( libvlc_media_get_type( *this ) );
......@@ -732,6 +733,7 @@ public:
std::vector<MediaSlave> res(list, list + length);
return res;
}
#endif
private:
......
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