mirror of https://github.com/mpv-player/mpv
65b858f7d3
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.) |
||
---|---|---|
.. | ||
ad.h | ||
ad_lavc.c | ||
ad_spdif.c | ||
dec_audio.c | ||
dec_audio.h |