Fixed bug where video recording under linux wasn't possible