It turns out that simply unchecking the VLC option "Accelerated video
output (Overlay)" in Preference > Video > Display solves the issue.
Maybe this is just a small VLC bug?
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
VLC automatic video output malfunctions on Intel HD Graphics 520
To manage notifications about this bug go to:
ubuntu-bugs mailing list