diff options
author | Marton Balint <cus@passwd.hu> | 2021-07-28 23:53:42 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2021-11-14 18:13:58 +0100 |
commit | 0a9edac48eacc0f914f489dc7953a51bf24bb99c (patch) | |
tree | c18e100fc7505a5aa3bda1c3add80c8474d80a00 /libavformat/supenc.c | |
parent | 97c3053d59f30f84b30efcc73ccf1b2e84b89006 (diff) | |
download | ffmpeg-0a9edac48eacc0f914f489dc7953a51bf24bb99c.tar.gz |
avfilter/af_apad: do not add infinite silence for zero pad_dur or whole_dur
Unfortunately pad_len and pad_dur behaviour was different if 0 was specified,
pad_dur handled 0 duration as infinity, for pad_len, infinity was -1.
Let's make the behaviour consistent by handling 0 duration for pad_dur and
whole_dur as indeed 0 duration. This somewhat changes the behaviour of the
filter if 0 was explicitly specified, but deprecating the old option and adding
a new for the corrected behaviour seemed a bit overkill. So let's document the
change instead.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/supenc.c')
0 files changed, 0 insertions, 0 deletions