[FFmpeg-cvslog] fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy

Anton Khirnov git at videolan.org
Tue Oct 4 12:56:39 EEST 2022


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Sep  4 14:29:38 2022 +0200| [69f770f77c1b003c96eae39a829c4afd8deca8b7] | committer: Anton Khirnov

fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy

It is not used for anything.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=69f770f77c1b003c96eae39a829c4afd8deca8b7
---

 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;



More information about the ffmpeg-cvslog mailing list