Looks like this Blue-winged Teal might be passing gas (farting). But in fact it's getting ready to stand on one leg and is in the process of making room under her wing for the other leg.
What I don't know is why so many of the wadding birds like to rest and sleep on one leg. It looks like it would require more work than using both legs. But apparently it doesn't.