Fix sync, when no video data it crashed