fftools/ffmpeg: drop the -async option

It has been deprecated in favor of the aresample filter for almost 10
years.

Another thing this option can do is drop audio timestamps and have them
generated by the encoding code or the muxer, but
- for encoding, this can already be done with the setpts filter
- for muxing this should almost never be done as timestamp generation by
  the muxer is deprecated, but people who really want to do this can use
  the setts bitstream filter
This commit is contained in:
Anton Khirnov
2022-08-30 11:14:13 +02:00
parent 1d326e9187
commit 3d86a13b47
6 changed files with 2 additions and 29 deletions

View File

@@ -1048,7 +1048,7 @@ static void do_audio_out(OutputFile *of, OutputStream *ost,
if (!check_recording_time(ost))
return;
if (frame->pts == AV_NOPTS_VALUE || audio_sync_method < 0)
if (frame->pts == AV_NOPTS_VALUE)
frame->pts = ost->sync_opts;
ost->sync_opts = frame->pts + frame->nb_samples;