[FFmpeg-devel] [PATCH 6/9] fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy
Anton Khirnov
anton at khirnov.net
Wed Sep 28 12:55:53 EEST 2022
It is not used for anything.
---
fftools/ffmpeg.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 971c146fea..1a6768f6c2 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1934,8 +1934,6 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
opkt->duration = av_rescale_q(pkt->duration, ist->st->time_base, ost->mux_timebase);
- ost->sync_opts += opkt->duration;
-
output_packet(of, opkt, ost, 0);
ost->streamcopy_started = 1;
--
2.35.1
More information about the ffmpeg-devel
mailing list