diff mbox series

[FFmpeg-devel,6/9] fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy

Message ID 20220928095556.28209-6-anton@khirnov.net
State Accepted
Commit 69f770f77c1b003c96eae39a829c4afd8deca8b7
Headers show
Series [FFmpeg-devel,1/9] fftools/ffmpeg: drop the -async option | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Sept. 28, 2022, 9:55 a.m. UTC
It is not used for anything.
---
 fftools/ffmpeg.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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;