If there are white specks in dog poop, it could be due to the presence of undigested food, undigested capsules, dog food/treat trace, chew toy pieces, fly eggs, tapeworm, roundworm, and hookworm.