diff options
author | wm4 <wm4@nowhere> | 2016-02-22 13:08:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-22 13:08:36 +0100 |
commit | 65b858f7d34d07a3e11ef22406015b027145b5b6 (patch) | |
tree | d0b71d82429dff2b0b6dd6c5ac3c5f03872e5b94 /audio/format.c | |
parent | 1bb1543a88457920caa48cc96cee219cb313840b (diff) | |
download | mpv-65b858f7d34d07a3e11ef22406015b027145b5b6.tar.bz2 mpv-65b858f7d34d07a3e11ef22406015b027145b5b6.tar.xz |
ad_lavc: interpolate missing timestamps
This is actually already done by dec_audio.c. But if
AV_FRAME_DATA_SKIP_SAMPLES is applied, this happens too late here. The
problem is that this will slice off samples, and make it impossible for
later code to reconstruct the timestamp properly.
Missing timestamps can still happen with some demuxers, e.g. demux_mkv.c
with Opus tracks. (Although libavformat interpolates these itself.)
Diffstat (limited to 'audio/format.c')
0 files changed, 0 insertions, 0 deletions