fix video output with Qt5