The painter came and gave two options. He said either he could fill in the damaged area of the frame or he could replace the whole frame. What are your thoughts? Is it worth replacing the whole frame for a small area?

It is about 2 cm long and the door frame is pretty standard door.