From 3d86a13b47b726e49c2d780c5f723c290e8a36b4 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 30 Aug 2022 11:14:13 +0200 Subject: 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 --- fftools/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fftools/ffmpeg.c') diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 69716de6b6..f84701ec75 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -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; -- cgit v1.2.3