Welcome to the club!
I have 4 boys, so when an older one had the tv on there was often a younger one there to watch it too. As far as I can tell it hasn't harmed their development or intelligence. As long as you are doing other things with your ds then there probably won't be any problems, make sure he has toys out too and play with him sometimes. You don't have to keep him occupied yourself 24/7, he can learn to play with things himself too, but make sure he has a variety of toys etc. to keep his attention.
As an aside, and probably stealth boasts, all my boys were generally earlier than average with most developmental milestones - walking, talking, feeding themselves etc. Only had some problems with some potty training and bits and pieces, but the oldest has aspergers and some things are down to that. They are all bright and do well in school. (Boast - ds3 was exposed to tv by a 6 yr old and a 4 yr old from day one of his life (born at home so exposed within hours), he walked at 11 months, speaking soon after, built with bricks as soon as he could pick them up and stop chewing them etc. Last year when he was in yr 6 he was top of the whole year (2 classes) and got an award.)
When ds1 was at nursery at 3 yrs old ds2 would watch Cbeebies before collecting his brother. By the time he was 2 years old he knew we had to get shoes and coats on to go and get his brother straight after Pingu finished just before 3pm. He's now a reasonably well adjusted 15 yr old doing his GCSEs this school year and expecting high grades. (And currently laughing his head off watching Mock The Week on Netflix.)
Anyway, enough boasting about my boys.
I assume you are getting help with the pnd, anxiety and ocd. If not please make sure you do. I was diagnosed with depression a few months after ds1 was born and it helps to get professional help, especially when at my lowest. Also, if you have doubts, keep posting. It is amazing how many people have the same thoughts as I have had over the years, it is useful to know I am not strange or different, and I have done many things similarly to other parents. You are not alone.