upipe_avfsink: add _get_duration()
Merge branch 'master' of http://git.notk.org/bencoh/upipe