refine code for bug #151, refine the source functions, add comments.
fix #151, always reap ts whatever audio or video packet. 0.9.223.