From patchwork Tue Oct 11 09:54:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 38685 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4a86:b0:9d:28a3:170e with SMTP id fn6csp777796pzb; Tue, 11 Oct 2022 02:55:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ZuYEem812p5/rGGVaHktQiIi4/7P+SMnCxOxQgo0Hjg+PuMpqmJ+sigqlPpiXpq/B1vRu X-Received: by 2002:a17:907:2d06:b0:78d:50db:130e with SMTP id gs6-20020a1709072d0600b0078d50db130emr17152898ejc.371.1665482116697; Tue, 11 Oct 2022 02:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665482116; cv=none; d=google.com; s=arc-20160816; b=G79JemIuhFhuMhwH0xBWxK3kc3Ey+TCp/vy7fMj4nBUvRjPPqSULHJnc2hIztDKRJX 96CtYSb0EhAyTBl5rLavGvtcKUaE1nlb52wCdvt6NzDHFiJNu3YgL94yLdnBZSX4u+S8 6LxNHClSOLYuB4XGx0Hl57NB4aOAwqVFq+oT6KWOkyoVy4igsLbBUrYhz/DJGuoFwJal yqyO3hvkBnixiDKOg3RVLioWuK3GdjQnxbAlsHcG1+WjyVQZlxe95Zi+ihc6JiJLT13D At/9Sre9gjJsSDW4pcOfucj9bbq4Bx8Z3TuJVu8TpLEY/IbK2WuHryC8YdzlGgoT2VfF AH/Q== 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=uU6H0SGOjHJS3GEX6wAQNHuTyGyrfRYmdhgvmzTLvmY=; b=APneOedONfyLIsJyVdsSWNwWvVDuKSyTQ4STNPwD1T81BK0C71RCfAe6ryeYGy8PRm POzx56GlVDA78xFWcK1omjg5j/wO4oetmkGZ0VzkN6BwxJCHPcVN7BN4kMpyO1PM4bIh 9eCdiODNQf7oUIHmpaRYRLk9FDQseI7ZizHKp0hYuiaO/tVO489AxWE66UbXzAyONEvu Z6G75vzZuH5Ek++uDKSpkPkbOJC6F9GByg4FwSc6+QcS8MvKZrB/HiyTbxp0/kYDMVFR v80lhdgYKtWFhw8usMGKt+f5qRGidt21Dyv8jEFeyReyAiB4/4aOLWIx2I/JigBqZd9e Wo8A== 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 hd30-20020a170907969e00b0077cfdda438csi12284057ejc.35.2022.10.11.02.55.16; Tue, 11 Oct 2022 02:55:16 -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 C9E4268BC6F; Tue, 11 Oct 2022 12:55:04 +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 B40B568BC0C for ; Tue, 11 Oct 2022 12:54:57 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 3A9382404E4 for ; Tue, 11 Oct 2022 11:54:57 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id UuiTX7Alr_iy for ; Tue, 11 Oct 2022 11:54:56 +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 739832400F4 for ; Tue, 11 Oct 2022 11:54:56 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 647533A0DA0 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:43 +0200 Message-Id: <20221011095445.27001-3-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 3/5] lavfi/vf_frei0r: set frame durations for frei0r_src 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: 2v//Zp2j5V1s This source produces CFR output. --- libavfilter/vf_frei0r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 1e01114b76..66351d6678 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -488,6 +488,7 @@ static int source_request_frame(AVFilterLink *outlink) frame->sample_aspect_ratio = (AVRational) {1, 1}; frame->pts = s->pts++; + frame->duration = 1; s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}), NULL, (uint32_t *)frame->data[0]);