Revert "imagefreeze: Remove impossible error condition"
This reverts commit d46631c5. pad only handle EOS events but not EOS flow, and will push the buffer again resulting in an assertion error. So we should not handle the buffer and return EOS flow.
Showing with 7 additions and 2 deletions