add call avcode_flush_buffers in playerseek fuction.