We need to synchronize when moving the texture between contexts, or we get glitches with VA-API decoding.