mirror of https://git.ffmpeg.org/ffmpeg.git
be8a4f80b9
During a resampling operation where 1) user has specified first_pts 2) SWR_FLAG_RESAMPLE is not set initially (directly or otherwise) 3) first_pts has been fulfilled (always using hard compensation) then upon first encountering a delay where a soft compensation is required, swr_set_compensation will lead to another init of swr which will reset outpts to the specified firstpts thus leading to an output frame having its pts = firstpts. When the next input frame is received, swr will see a large delay and inject silence from firstpts to the current frame's pts. This can lead to severe desync and in worst case, loss of audio playback. Parameter firstpts initialized to AV_NOPTS_VALUE in swr_alloc and then checked in swr_init to avoid resetting outpts, thus avoiding reapplication of firstpts. Fixes #4131. |
||
---|---|---|
.. | ||
aac.mak | ||
ac3.mak | ||
acodec.mak | ||
adpcm.mak | ||
alac.mak | ||
als.mak | ||
amrnb.mak | ||
amrwb.mak | ||
api.mak | ||
apng.mak | ||
atrac.mak | ||
audio.mak | ||
bmp.mak | ||
build.mak | ||
caf.mak | ||
canopus.mak | ||
cbs.mak | ||
cdxl.mak | ||
checkasm.mak | ||
concatdec.mak | ||
cover-art.mak | ||
dca.mak | ||
demux.mak | ||
dfa.mak | ||
dnxhd.mak | ||
dpcm.mak | ||
dvvideo.mak | ||
ea.mak | ||
enc_external.mak | ||
exif.mak | ||
ffmpeg.mak | ||
ffprobe.mak | ||
fifo-muxer.mak | ||
filter-audio.mak | ||
filter-video.mak | ||
fits.mak | ||
flac.mak | ||
flvenc.mak | ||
gapless.mak | ||
gif.mak | ||
h264.mak | ||
hap.mak | ||
hevc.mak | ||
hlsenc.mak | ||
hw.mak | ||
id3v2.mak | ||
image.mak | ||
imf.mak | ||
indeo.mak | ||
jpeg2000.mak | ||
jxl.mak | ||
lavf-audio.mak | ||
lavf-container.mak | ||
lavf-image.mak | ||
lavf-image2pipe.mak | ||
lavf-video.mak | ||
libavcodec.mak | ||
libavdevice.mak | ||
libavformat.mak | ||
libavutil.mak | ||
libswresample.mak | ||
libswscale.mak | ||
lossless-audio.mak | ||
lossless-video.mak | ||
matroska.mak | ||
microsoft.mak | ||
monkeysaudio.mak | ||
mov.mak | ||
mp3.mak | ||
mpc.mak | ||
mpeg4.mak | ||
mpegps.mak | ||
mpegts.mak | ||
mxf.mak | ||
oma.mak | ||
opus.mak | ||
pcm.mak | ||
pixfmt.mak | ||
pixlet.mak | ||
probe.mak | ||
prores.mak | ||
qoa.mak | ||
qt.mak | ||
qtrle.mak | ||
real.mak | ||
screen.mak | ||
seek.mak | ||
segafilm.mak | ||
segment.mak | ||
source-check.sh | ||
source.mak | ||
spdif.mak | ||
speedhq.mak | ||
subtitles.mak | ||
truehd.mak | ||
utvideo.mak | ||
vbn.mak | ||
vcodec.mak | ||
video.mak | ||
voice.mak | ||
vorbis.mak | ||
vpx.mak | ||
vqf.mak | ||
wavpack.mak | ||
webm-dash-manifest.mak | ||
wma.mak | ||
xvid.mak |