use picture-level new seq begin detection for output functions

add picture-level new-seq-begin for correctly output log information.
see:
https://rbcommons.com/s/OpenH264/r/1011/