• Marton Balint's avatar
    avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames · 76fbb005
    Marton Balint authored
    By using the frame counter (and the video time base) for audio pts we lose some
    timestamp precision but we ensure that video and audio coming from the same DV
    frame are always in sync.
    
    This patch also makes timestamps after seek consistent and it should also fix
    the timestamps when the audio clock is unlocked and have a completely
    indpendent clock source. (E.g. runs on fixed 48009 Hz which should have been
    exact 48000 Hz)
    
    Fixes out of sync timestamps in ticket #8762.
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    76fbb005
dv.c 19.7 KB