From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 379D946A9F for ; Fri, 1 Sep 2023 23:15:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1144068C7B8; Sat, 2 Sep 2023 02:15:02 +0300 (EEST) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1917468C778 for ; Sat, 2 Sep 2023 02:14:54 +0300 (EEST) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-3ff7d73a6feso24076535e9.1 for ; Fri, 01 Sep 2023 16:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693610093; x=1694214893; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=46iRt3dZbDoSbT+EJmCAgQTij5+h9cVexAu1GokHeI0=; b=Qimc4a/jxxL+OkYsNLj8ZhNOsqThNOeYM+Yhgz5qnWcqUa5P9nUS7miOhNUCe3e83L nx+bgVyzCpQzu0Fh2D+lmf2Oy3mS/XG4W0Lik1mvZVbTubTlIVtH0LYU6lV0+gNDHskw ZOFPo7d32QzonQVr52nlIgiC1VvVByfAObVusaiveAbPzP9gf5M4/6rjKLE2+kG8+ruy AdCdtCtb+HWHrznCOnDhys4rJHo9R1y6GApjuKd5lcVyWDaVi0/KnLbZRh/tHmKasKGG XQpQHF13Y4BCHTJVGM7xc2IM549jzy2qBiONt/NF3oCVpFpo0IjhdHBtIM+ClQXbZEqY EB/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693610093; x=1694214893; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=46iRt3dZbDoSbT+EJmCAgQTij5+h9cVexAu1GokHeI0=; b=duf5AEMIIMizSk2CsPfGx4YRsfr7Pt346Mr0zDvLtF4yRAM9cQqIXVXDD1L1+qQ9CO Jw4jfmlXdbPYwzgWFeo0pAukgze98Ll80ZpCJ2pRQa3KaDdqa5ddBiWMU7CVzE6I+Tf4 OBbzwvkFl7k57oXkFxjXnlRcyA/okEx9LvYHWaO3GTbxqUoO6VWvJxyX8DIEQ9JkIm1P 1qMPAi0PDOeidI+2xGUlBH4rfqN7P1S6lzkQ4IveoBsCuuczER8JvU0+W4gGmDXrkbwh sZCHZCl1/5gj4YmOHB4AaBuxJk3JZnhDfYb5Kqts3KEog0MTFUpZZEIksMccK+zHp47d McmA== X-Gm-Message-State: AOJu0YzpsbrrsyzROCF7xV8YRJ/wsYUw7I6odjJ/u2mD+S0xKfomVtyx rTmqIKyPuoKIusnT1W9qttkE7kK9v5I= X-Google-Smtp-Source: AGHT+IEDh62zoxqIygCJ9xmRnJxI/bhEIq4tvU2lO58ez6nTbMfJlSDCaoqfAIoEpo0pz4oO95dgSw== X-Received: by 2002:a7b:ce18:0:b0:3fb:f0ef:4669 with SMTP id m24-20020a7bce18000000b003fbf0ef4669mr2812843wmc.17.1693610092577; Fri, 01 Sep 2023 16:14:52 -0700 (PDT) Received: from mariano ([82.84.194.139]) by smtp.gmail.com with ESMTPSA id j22-20020a05600c1c1600b00402be2666bcsm1495880wms.6.2023.09.01.16.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 16:14:48 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 75CBEBFCE2; Sat, 2 Sep 2023 01:14:47 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sat, 2 Sep 2023 01:14:46 +0200 Message-Id: <20230901231447.1486347-5-stefasab@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230901231447.1486347-1-stefasab@gmail.com> References: <20230901231447.1486347-1-stefasab@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/6] doc/examples/transcode: use av_buffersrc_add_frame() 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 Cc: Stefano Sabatini Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Favor it over av_buffersrc_add_frame_flags, simplify. --- doc/examples/transcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/transcode.c b/doc/examples/transcode.c index aa6594f4ec..b4b2d3c4c9 100644 --- a/doc/examples/transcode.c +++ b/doc/examples/transcode.c @@ -483,7 +483,7 @@ static int filter_encode_write_frame(AVFrame *frame, unsigned int stream_index) av_log(NULL, AV_LOG_INFO, "Pushing decoded frame to filters\n"); /* push the decoded frame into the filtergraph */ - ret = av_buffersrc_add_frame_flags(filter->buffersrc_ctx, frame, 0); + ret = av_buffersrc_add_frame(filter->buffersrc_ctx, frame); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Error while feeding the filtergraph\n"); return ret; -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".