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

Media: Fix inverted logic

parent 45628c0a
......@@ -590,7 +590,7 @@ public:
*/
bool parseWithOptions( ParseFlags flags )
{
return libvlc_media_parse_with_options( *this, static_cast<libvlc_media_parse_flag_t>( flags ) );
return libvlc_media_parse_with_options( *this, static_cast<libvlc_media_parse_flag_t>( flags ) ) == 0;
}
ParseStatus parseStatus()
......
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