Skip to content
Snippets Groups Projects
Commit ddf5811d authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix VLC plugin compat with VLC 3.x

parent b70b4317
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@ void MediaPluginLibVLC::eventCallbacks(const libvlc_event_t* event, void* ptr)
//
void MediaPluginLibVLC::playMedia()
{
if (mURL.length() == 0)
if (mURL.length() == 0 || mWidth == 0 || mHeight == 0)
{
return;
}
......
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