Encoder interface

review at: https://rbcommons.com/s/OpenH264/r/198/ 
error type is more meaning for EncoderFrame.
1. use error type instead of encoder type  in EncoderFrame