Capital city of wales pre 1955?

In 1404, Machynlleth was the seat of Owain Glyndwr's Welsh Parliament. It can be said to be capital of Wales pre 1955, but it was never recognized as such.