Media compiler fixes