modify trace level and fix potential issues

reviewed at: https://rbcommons.com/s/OpenH264/r/852/