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

Media: Expose missing subitems method

parent 94f280da
...@@ -578,6 +578,14 @@ public: ...@@ -578,6 +578,14 @@ public:
return res; return res;
} }
std::shared_ptr<MediaList> subitems()
{
auto p = libvlc_media_subitems( *this );
if ( p == nullptr )
return nullptr;
return std::make_shared<MediaList>( p );
}
private: 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