fix movie player on linux

thx @ delroth for the patch