]> git.sesse.net Git - ffmpeg/commit
avformat/dashdec: refine compute current fragment for presentation_timeoffset mode
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 5 Sep 2018 06:33:53 +0000 (14:33 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 5 Sep 2018 06:33:53 +0000 (14:33 +0800)
commitad9b4ecc26bef7babb31b58f19c869f6464c2db9
tree125a4354e83876ebc2a0974306195e958523f86f
parentd0be0de06557e344ee0142ab0a88f8f14825f5ae
avformat/dashdec: refine compute current fragment for presentation_timeoffset mode

fix ticket id: #7369 #7382.
use ((wallclock - availability_start_time) * timescale -presentation_timeoffset) / duration

Signed-off-by: Steven Liu <lq@onvideo.cn>
libavformat/dashdec.c