caprica/vlcj — pull request #37 by axet (2012-04-19 17:19:04+00:00)
Title: fix show/hide vlc bug

My application has VLC embedded window inside Swing Tab component.

When I switch from Video tab to next tab, evertying working as expected (no video, and background sound). But when I switch back to the Video tab I see back block instead of video stream and normal video sound stream.

Seems like someone (vlc lib) or vlcj forgot to reinitialize video surface.

Here is a hot-fix.