Fix the timestamp issue.

Need a 720*576 source with audio to test the code.