Commit c20067af authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

structures: Fix TitleDescription constructor

It only needs a const libvlc_title_description_t*.
parent e81b9f06
......@@ -562,7 +562,7 @@ public:
return ( m_flags & libvlc_title_interactive ) != 0;
}
explicit TitleDescription( libvlc_title_description_t* c )
explicit TitleDescription( const libvlc_title_description_t* c )
: m_duration( c->i_duration ), m_flags( c->i_flags )
{
if ( c->psz_name != nullptr )
......
Supports Markdown
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