Add flag for reusing context between streams

The context is initialized automatically for every processed stream.
This is not necessarily the behavior that the user wants. Add a flag
which when set will make the context reused between streams. This turns
off the automatic initialization and deinitialization, so initialization
has to be done in main before any streams are handled.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>