[aml] refactor a/v sync to be less intrusive
[aml] fixed lingering stuck in pause (amcodec bug)