Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add swig.WaitForBlock(dec, sbn, err)
Make it wait for any block to be available and return its status. FTR, potential error codes from compute() include: * swig.Error_NONE -> source block (sbn) is ready * swig.Error_EXITING -> underlying decoder has been deleted * swig.Error_NEED_DATA -> source block (sbn) has reached end-of-input (as indicated by the caller) but still cannot be decoded. Since we do not inject end-of-input, we will not get and do not have to process NEED_DATA.
- Loading branch information