for PS error logic for EC

review request see:
https://rbcommons.com/s/OpenH264/r/421/