summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-30 11:14:13 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-04 11:55:03 +0200
commit3d86a13b47b726e49c2d780c5f723c290e8a36b4 (patch)
tree09767fa0bcc2289017cd6ef369864b7c37334a62 /fftools/ffmpeg.c
parent1d326e91875bcc9b9e0e907f5b94842172e66ec8 (diff)
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
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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;