Optional.
Instructs subclass to clear any codec caches and discard any pending samples and not yet returned encoded data.