Absolutely right.
Judge Andrew Napolitano covered the relevant law about this on "The Big Show", when our POWs we're paraded on TV.
During fighting action, and as they are being taken into custody, there is no prohibition against showing prisoners.
You cannot produce them at a later time for propaganda purposes, or put them on public display, or subject them to public ridicule or public interrogation.