From patchwork Wed Sep 28 09:55:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 38412 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp93676pzh; Wed, 28 Sep 2022 02:58:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7bsV94ma9V/Rk3aiFz/iUW+2B5ds3tO/be9AANi9/YfKU8En8DHNYOe2+jO0gHO7px2Mb5 X-Received: by 2002:a17:907:3e25:b0:783:29e1:c1ce with SMTP id hp37-20020a1709073e2500b0078329e1c1cemr15719912ejc.303.1664359109213; Wed, 28 Sep 2022 02:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664359109; cv=none; d=google.com; s=arc-20160816; b=wjx+EpisvB+jr02mFkZUXqZ4F8FAsx66ofG+VA1pjNDAgeb8vi0mPfAEABPq8sNn+F 8PxqKor0g27cYc16p9cBT471glnDJBLY4Ck6wJ90RAAYWekPjqrUanIAC0udsYph7r77 rYt3iWoWeiC/ho0m/VCSrjvUJhilRt7EXWfJM85dBDC/cfFu/52q815C/CG8LulHzY1o IWUbQlK23JuT4Qw53eoW+NuQRt/845MiOmy9z/BWzDrXFSKVjoWvl2fRkMlurNPvsnAH /jhpX4ULKN4g4RzSwIJlKwvaBUp9R/pP4HA4R/wS7SAOuODGJ8Cig/2z2Il9w05qqL1O YrlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=G3JHYbVN2ZAMLnlPVnJ33hNJPI3hRMyRcQQG7mXwMbI=; b=vp7oMWZaxhqJU6pgMzinbmSXqXn9xIcWHO8XVWUcYp9lvMI4RKFlyrtUb8Hit2Qngs gQLzNixupGw9QtHXI7/Gkg/okytySYwXMMtCuSSnhAw4gm1hIwk6Tn02YUNYsLaZkJFc YcczNzZeER51Hebw/MztNTjzv3BfakCELG3M/EOAnnz06v2xB+ub7Rzv9zPlC3GAPckJ IeI98gpnB5AHycsKqsQJoUVbv9JwEJj0PbSqXnN7AfIWBuOzLlIGLHah72ap+YtBgAmA ETGq/jj37Jl5ax3RV4ROzI002Jm/B0wQZeef8xfLD4nSwxAlRBZNt4tAp0vvR95zhySj HPyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id eb8-20020a0564020d0800b004570e4887desi5809874edb.437.2022.09.28.02.58.28; Wed, 28 Sep 2022 02:58:29 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0679168BBDB; Wed, 28 Sep 2022 12:58:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BAE0668BBD8 for ; Wed, 28 Sep 2022 12:58:02 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 0BF622400F4 for ; Wed, 28 Sep 2022 11:58:02 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id uOSVL-EHUpHy for ; Wed, 28 Sep 2022 11:58:01 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 03B812404F7 for ; Wed, 28 Sep 2022 11:58:01 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 45DD53A15EA for ; Wed, 28 Sep 2022 11:58:01 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 28 Sep 2022 11:55:53 +0200 Message-Id: <20220928095556.28209-6-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220928095556.28209-1-anton@khirnov.net> References: <20220928095556.28209-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 6/9] fftools/ffmpeg: stop setting OutputStream.sync_opts for streamcopy X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 2bqsO85WKCsv 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;