Setting stream codec on all the input ports of the stream