Message ID | 20230517102029.541-13-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 2628c7049ec15e52f267a1a019f7cf38a6cd87b4 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:ba91:b0:105:feb:71f2 with SMTP id fb17csp1078301pzb; Wed, 17 May 2023 03:21:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6N9LndSqy3E2ePzBsqdmadvkwyUAewDdl2lEijpOaLPvO6o6B3ee79nIMqB+kfJvErkthK X-Received: by 2002:a17:907:9444:b0:966:5730:c3fe with SMTP id dl4-20020a170907944400b009665730c3femr35965873ejc.52.1684318918273; Wed, 17 May 2023 03:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684318918; cv=none; d=google.com; s=arc-20160816; b=dxruhE18S5OyajxlPAmJ4IBtJXueaSWs0YZuwiRpv/Y91UkYO3DJLEJui/KJmjTSFR WsS78hhVcr3u4Huudc0UIWNJeNda0O3vFd1QYW6tMWwgWIdcXVriMbOT8Dnrimxfcley dO6wPNipIN1CC2HFRDPJb0xeQxuimc+5JH8zDvkk9DuxuzQr8ScHRI7190rW0lEk+ZGg 45To3x94Lh/tM9gfjIMvu7necZ3ocMyKb5j3xMty9mZAUkb/Eal381V2k4DX9BSoFZm3 mQ3RBqUYeCOpAOB17oSQmG1UrdyLkT+upRgjWpeAYp79SMX96UHMNtFJTtqxKnjfLFOo n2sQ== 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=wazlgPnzUOJwleJt5L0Zo7danGNzH4VkwxWg+zk8x0Y=; b=ja9QSvIqKQ4PBO5h1ByltZCN9DTIZ3kEnv4lSus0WBGG20UAYLTQs5leMJUmLw63BF eNro5kBas7x9rJZd1rPCHc0KvHSlMNxs9xdcK6rVEzRb1P5BmHGoZZVKWrkoH2Nt6V0f dwkCjCTctmysuI3kGYGtwO6LG8TC/GmkrG6t2QuvngzcWYPGjbD+NNuyD6MAegvZ6kya HlqVC60lRyRTLdh2DYlamazcAXq4xx3nFAHofJcaPUXVY8yHzjLptSKPWzpVhtmDOJ3Z T6FhwK2ToFDAxmwfR8bDAPyB8hm9BZ4mLpIbrKocKBbK9be0bh7mB1jxQmMuKb06CJN7 fd6g== 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: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r8-20020aa7cfc8000000b0050bd1b55099si15154102edy.172.2023.05.17.03.21.57; Wed, 17 May 2023 03:21:58 -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 BFCE068C163; Wed, 17 May 2023 13:20:59 +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 2D2F968C12D for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 13:20:52 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 868562405B5 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:49 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 0Q_dS6-hcOHI for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:49 +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 009592406CA for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:46 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id EBC5C3A16B6 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:39 +0200 (CEST) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Wed, 17 May 2023 12:20:06 +0200 Message-Id: <20230517102029.541-13-anton@khirnov.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517102029.541-1-anton@khirnov.net> References: <20230517102029.541-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 13/36] fftools/ffmpeg_filter: try configuring graphs from input EOF X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: eqjwp4lVjwAi |
Series |
[FFmpeg-devel,01/36] fftools/ffmpeg: shorten a variable name
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 8eca0f2cae..6323278d15 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -1533,6 +1533,14 @@ int ifilter_send_eof(InputFilter *ifilter, int64_t pts, AVRational tb) &ifp->fallback.ch_layout); if (ret < 0) return ret; + + if (ifilter_has_all_input_formats(ifilter->graph)) { + ret = configure_filtergraph(ifilter->graph); + if (ret < 0) { + av_log(NULL, AV_LOG_ERROR, "Error initializing filters!\n"); + return ret; + } + } } if (ifilter->format < 0 && (ifilter->type == AVMEDIA_TYPE_AUDIO || ifilter->type == AVMEDIA_TYPE_VIDEO)) {