Neil Gaiman has said one of the episodes of Doctor Who he wrote ended up leaving him with "a bad taste in my mouth" because he had no say over the finished product.

The author, who wrote The Doctor's Wife in 2011 and Nightmare in Silver in 2013, said the experience made him determined to have creative control over his new show Good Omens, starring Michael Sheen and David Tennant.

He said: "I did two episodes of Doctor Who over the last decade, one I loved and it won awards, one I do not love and it is widely regarded as having some good bits in it but being rather a curate's egg.

"As far as I'm concerned both of the scripts were of equal quality but the biggest differences were having a say in what actually got to the screen, a say in what got changed, a say in what got rewritten, a say in the colour scheme, a say in all those things."

Gaiman's new series is based on the 1990 book he wrote with the late Terry Pratchett, and the Discworld author asked him to make it into a show before he died in 2015.