videosink is autodestructing when user close the window