From patchwork Tue Oct 11 09:54:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 38687 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4a86:b0:9d:28a3:170e with SMTP id fn6csp777861pzb; Tue, 11 Oct 2022 02:55:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73dBxH+xOYA5JKTedjsBeYyO5IappsQo1kgaSQclkecDikxZQqC3cSwgkTwNMgWbQEjlCy X-Received: by 2002:a17:907:2723:b0:789:ae01:6fbd with SMTP id d3-20020a170907272300b00789ae016fbdmr18634316ejl.731.1665482133717; Tue, 11 Oct 2022 02:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665482133; cv=none; d=google.com; s=arc-20160816; b=N2En8noX/bEz/V27MQqctXfFQpYr505TpxI4kwDe/ePCItb5s4bMCiJh/+3XUzbT+K vu9JSehxIKhVABxon2PQj0AfXBA+pxT3qctuWU9tghMjxk7dGXEUBao2EzuVBF+v2k2D WqILRVQQycMhRhQ4eMQpdMk/lHSKRhVZsTrMI+oMX2/qVKNP/bNAzXBCqMjs6g/EbO+j 1W64yr47ZoJexls8YvFTOKeKjYoRxwUEwImR2LnAGP7KYOY5Yc+y2dKmVM8V+9FuOUQP y98IS6qkLckobpxT/dSaNYErcfRV0cPnHPgAcY3ywogX58/FaNA7nnsg+/W3YXqbcjRU OESw== 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=BBSSZUyPlIy5depXH5QGuxvxMk1yoPusZwCAdxJv7zk=; b=MpadB8t13Q01f419CKoz5JRBb1tcVm7sRxa4fo1kh+S77s/iE2UnAxf5Z4SEosWmhT RF5BMjZwrUBinbCNCa/dKJowwURbP57NAErJ3jD7RhQ4qzxkcWP0kATNkf8F61SaOIQf DRorYS64wbXn/353sX95RbxKUS8Z1wPwY5V2SLSinE9oOC3SjNNDQWRB6wwsNcyyNjBg DAeG1Ht2w3ryFa1f9zI2XZAv315c9E3QOykALCT2p8vhsOTCgLyF3VKimX3oC1idD8FB PlXh5f18aExSFCsdzYdHMsykRo8lRX0wx0RDc076FnwKHYAzHvPcykEL5WEFa1c9mMaj zerw== 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 z5-20020a1709060f0500b007315809ec88si11653904eji.399.2022.10.11.02.55.33; Tue, 11 Oct 2022 02:55:33 -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 C889E68BCA7; Tue, 11 Oct 2022 12:55:08 +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 3093068BC61 for ; Tue, 11 Oct 2022 12:54:59 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id A70A42404F7 for ; Tue, 11 Oct 2022 11:54:58 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id drPgUzcsCJei for ; Tue, 11 Oct 2022 11:54:58 +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 DBC692404F8 for ; Tue, 11 Oct 2022 11:54:57 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 715AD3A168C for ; Tue, 11 Oct 2022 11:54:55 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Tue, 11 Oct 2022 11:54:45 +0200 Message-Id: <20221011095445.27001-5-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221011095445.27001-1-anton@khirnov.net> References: <20221011095445.27001-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/5] lavfi/src_avsynctest: set video frame durations 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: GU8dlXdkY/IR This filter produces CFR video output. --- libavfilter/src_avsynctest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/src_avsynctest.c b/libavfilter/src_avsynctest.c index c78e517ac3..78e4a2ba50 100644 --- a/libavfilter/src_avsynctest.c +++ b/libavfilter/src_avsynctest.c @@ -348,6 +348,7 @@ static int video_frame(AVFilterLink *outlink) } out->pts = s->vpts++; + out->duration = 1; return ff_filter_frame(outlink, out); }