ffmpeg/tests/fate
Gyan Doshi be8a4f80b9 swr/swresample: avoid reapplication of firstpts
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.
2023-12-18 15:47:04 +05:30
..
aac.mak
ac3.mak
acodec.mak libswresample/swresample: avoid s16p internal transfer format 2023-09-25 21:41:35 +02:00
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 fate/cbs: add more VVC tests 2023-07-07 11:56:37 -03:00
cdxl.mak
checkasm.mak checkasm: test for abs_pow34 2023-12-11 18:42:07 +02:00
concatdec.mak
cover-art.mak
dca.mak
demux.mak Add FATE test for timed id3 demux. 2023-06-29 17:33:01 +02:00
dfa.mak
dnxhd.mak
dpcm.mak
dvvideo.mak lavc/dvdec: export bitrate 2023-07-07 12:12:52 +02:00
ea.mak
enc_external.mak tests/fate: add a simple test for libx264 2023-05-15 10:39:02 +02:00
exif.mak
ffmpeg.mak fate/h264: move mp4toannexb_ticket5927 test to fate-h264 2023-11-22 19:42:15 +08:00
ffprobe.mak
fifo-muxer.mak
filter-audio.mak tests/fate: add asegment filter tests 2023-12-05 14:50:40 +01:00
filter-video.mak tests/fate: add pixelize filter tests 2023-12-14 23:34:46 +01:00
fits.mak tests/fate: fix mismatches between requested and actually used pixel formats 2023-07-20 20:30:13 +02:00
flac.mak
flvenc.mak avcodec/av1dec: export pixel format even if no hardware decoder is present 2023-09-08 09:42:25 -03:00
gapless.mak
gif.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
h264.mak fate/h264: move mp4toannexb_ticket5927 test to fate-h264 2023-11-22 19:42:15 +08:00
hap.mak
hevc.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
hlsenc.mak tests: Correctly distinguish between SAMPLES and TARGET_SAMPLES for hls_fmp4_ac3.m3u8 2023-08-04 21:51:17 +03:00
hw.mak
id3v2.mak
image.mak fate/jpg: add RGB mjpeg fate tests 2023-05-17 12:37:42 +02:00
imf.mak
indeo.mak
jpeg2000.mak fate/jpeg2000: add missing dependecy checks 2023-04-23 18:54:43 -03:00
jxl.mak fate/jpegxl: add multiframe permuted TOC image parser test 2023-12-15 11:52:43 -05:00
lavf-audio.mak
lavf-container.mak libswresample/swresample: avoid s16p internal transfer format 2023-09-25 21:41:35 +02:00
lavf-image.mak
lavf-image2pipe.mak
lavf-video.mak tests/fate: fix mismatches between requested and actually used pixel formats 2023-07-20 20:30:13 +02:00
libavcodec.mak lavc/av1: Add unit test for level handling 2023-09-22 13:15:01 +08:00
libavdevice.mak
libavformat.mak
libavutil.mak
libswresample.mak swr/swresample: avoid reapplication of firstpts 2023-12-18 15:47:04 +05:30
libswscale.mak
lossless-audio.mak fate: add OSQ test 2023-09-06 11:59:20 +02:00
lossless-video.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
matroska.mak fate/matroska: Add test for remuxing non-rotation displaymatrix 2023-09-07 00:28:27 +02:00
microsoft.mak
monkeysaudio.mak tests/fate: Add NoLegacy-cut.ape test 2023-08-28 01:10:14 +02:00
mov.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
mp3.mak
mpc.mak
mpeg4.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
mpegps.mak fate/mpegps: Fix argument order 2023-09-08 15:48:21 +02:00
mpegts.mak
mxf.mak
oma.mak
opus.mak
pcm.mak
pixfmt.mak
pixlet.mak
probe.mak
prores.mak
qoa.mak fate: Add tests for QOA decoder 2023-12-04 23:14:38 +01:00
qt.mak
qtrle.mak
real.mak
screen.mak fate/screen: workaround test failure on mac M1 2023-10-18 23:01:51 +08:00
seek.mak
segafilm.mak
segment.mak
source-check.sh fate-source: exclude Apache-2 licensed files 2023-05-29 00:41:59 +02:00
source.mak
spdif.mak
speedhq.mak
subtitles.mak tests: do not override movflags defaults 2023-04-24 23:00:50 +02:00
truehd.mak
utvideo.mak
vbn.mak
vcodec.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
video.mak fftools/ffmpeg: rework -enc_time_base handling 2023-07-15 11:02:11 +02:00
voice.mak
vorbis.mak
vpx.mak tests/fate: replace deprecated -vsync with -fps_mode 2023-11-14 18:18:26 +01:00
vqf.mak
wavpack.mak
webm-dash-manifest.mak
wma.mak wmavoice: convert DCT-I/DST-I to lavu/tx 2023-09-01 23:59:11 +02:00
xvid.mak