What happened to my D. burmannii flower stalk? It looks unhealthy.

I’m not sure if the flower stalk on this plant is dying or if it is done flowering, but it is turning black now starting from the top, and it looks like there are less flowers than there should be. The stalk emerged about 20 days ago… Are the seeds on the few pods that are there ready, and will they be viable once planted?