(un)install filters and tasks in AVThread for internal use

FIXME:
for the case pause next frame, if next frame is called after timeout and
before tryPause, then current frame will still displayed and not the
next frame. which is wrong
uninstallFilter and task implementions