Revert "A stream is only written to the output container when it has a complete header."

This reverts commit 7936b84d8bcc2e8de524e97cb4d9d8e7c483f8f5.