As I recall flights under 12 hrs require a captain and two FO's. Over 12 hours it is two captains and two FO's. Sounds like the eastbound tailwind flight did not require the second captain so if he was out of uniform could drink. Both captains were required on the return flight because of headwinds and the captain on the eastbound flight had to take his break to stay under 8 hrs.