From patchwork Mon Oct 10 16:10:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 38673 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4a86:b0:9d:28a3:170e with SMTP id fn6csp443262pzb; Mon, 10 Oct 2022 09:11:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5keP7HTlrrJtFczdc4lyXUDPRFgtg3yRhazTHePXaxfCS+5eXOxvWdRSoexbagbszHLjS5 X-Received: by 2002:a17:907:72cc:b0:78d:a3d9:f46c with SMTP id du12-20020a17090772cc00b0078da3d9f46cmr7121687ejc.559.1665418295802; Mon, 10 Oct 2022 09:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665418295; cv=none; d=google.com; s=arc-20160816; b=szqNn/PwiqvOOeXFtfEtZpJMX+R1S+iMaefdKOMziLmDPtzl+4PmPiFf5KCye0o8E2 wAN0RbKVaRaUJzzHMF9wkIeBqIPl6HE5L15CVNOttbvSX7AParzXQpgDuDH1hwx2DnCn sNxjaO1IExTm7rVWyx7M5J9ww/mJ0GOZVOVI1Un4bWIPPOlrZPWIBNBnzwktb1wCZx9s 7h44JzXqw5pEl/bD3qKa+bWfI7t+CTHCJl0yIhXsLN9VwTrn2cdktZB8VEeHMuBJLObs M1g/1aI/NJaPIrOXYdEHq1oKrRHpNLcmTh9bUvHPMISN2nQA5WH6Ha6vJa99ioTryM3w RpTA== 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=IdJHTm2chOLwpdGSYAO4xwaXSSJ9I9Z59PPImD4LOgI=; b=ukmFX+4/5XmI4VXye0rbvvSGCXieKMeZT8m/ETbPXfnZrU83bpLpwe27wvZ6KgWRyx cXgecRsPJ7+g7RUyx7ceWP9GkBivSyh6SN5dmneLjaS1QaKWgw3Zz5G53th6QKM+ptsA 8gUjahLMkbLGYl97Tuw8wZ1r/OrHBce7v5L/5fi2LO1+FkbDLfxEHecKDR3+8Lfh3/Cy TXh7h+1oUYz1BaMJtR7w+YEuCXU5qcTzna4eYBy5xv7bg6pdw6h2PH++1/3LFv5F2uo6 0Vqn8tnGtDG90vP86aDusxAakk0tlD7LM+Q0Z7mQYgVq3TrbNyDkYaV4JNCtOOT3TdQz XhyQ== 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 dr20-20020a170907721400b007879808e995si10859324ejc.55.2022.10.10.09.11.21; Mon, 10 Oct 2022 09:11:35 -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 B339668BCF4; Mon, 10 Oct 2022 19:11:17 +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 E48A868BC16 for ; Mon, 10 Oct 2022 19:11:10 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id F10632404E4 for ; Mon, 10 Oct 2022 18:11:09 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id lvbATyzspfAo for ; Mon, 10 Oct 2022 18:11:09 +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 302CE2404F7 for ; Mon, 10 Oct 2022 18:11:07 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 05EC43A0DA0 for ; Mon, 10 Oct 2022 18:11:02 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Mon, 10 Oct 2022 18:10:51 +0200 Message-Id: <20221010161055.18948-4-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221010161055.18948-1-anton@khirnov.net> References: <20221010161055.18948-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/8] lavfi/vf_coreimage: set 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: 0aHxwpXCli7q This filter is supposed to produce CFR output. --- libavfilter/vf_coreimage.m | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_coreimage.m b/libavfilter/vf_coreimage.m index 5b025c2388..874bdc8c56 100644 --- a/libavfilter/vf_coreimage.m +++ b/libavfilter/vf_coreimage.m @@ -300,6 +300,7 @@ static int request_frame(AVFilterLink *link) } frame->pts = ctx->pts; + frame->duration = 1; frame->key_frame = 1; frame->interlaced_frame = 0; frame->pict_type = AV_PICTURE_TYPE_I;