Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-30 12:14:13 +0300
committerAnton Khirnov <anton@khirnov.net>2022-10-04 12:55:03 +0300
commit3d86a13b47b726e49c2d780c5f723c290e8a36b4 (patch)
tree09767fa0bcc2289017cd6ef369864b7c37334a62 /fftools/ffmpeg_filter.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_filter.c')
-rw-r--r--fftools/ffmpeg_filter.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 17928cea2c..82abb38a93 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -892,16 +892,6 @@ static int configure_input_audio_filter(FilterGraph *fg, InputFilter *ifilter,
last_filter = filt_ctx; \
} while (0)
- if (audio_sync_method > 0) {
- char args[256] = {0};
-
- av_strlcatf(args, sizeof(args), "async=%d", audio_sync_method);
- av_strlcatf(args, sizeof(args), ":min_hard_comp=%f", audio_drift_threshold);
- if (!fg->reconfiguration)
- av_strlcatf(args, sizeof(args), ":first_pts=0");
- AUTO_INSERT_FILTER_INPUT("-async", "aresample", args);
- }
-
snprintf(name, sizeof(name), "trim for input stream %d:%d",
ist->file_index, ist->st->index);
if (copy_ts) {