ffmpeg: disable autoinsertion for -async on the output side of the filtergraph.
This fixes the issue that since the last merge -async caused 2 aresample filters to be inserted users that generate funny timestamps in a filtergraph should probably manually insert a aresample filter where they need it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
89cf5bf39a
commit
96fe99cb11
2
ffmpeg.c
2
ffmpeg.c
@ -1063,7 +1063,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
|
|||||||
pad_idx = 0; \
|
pad_idx = 0; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
if (audio_sync_method > 0) {
|
if (audio_sync_method > 0 && 0) {
|
||||||
char args[256] = {0};
|
char args[256] = {0};
|
||||||
|
|
||||||
av_strlcatf(args, sizeof(args), "min_comp=0.001:min_hard_comp=%f", audio_drift_threshold);
|
av_strlcatf(args, sizeof(args), "min_comp=0.001:min_hard_comp=%f", audio_drift_threshold);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user