Fix encoding of H264