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 F2C3947257 for ; Sat, 2 Sep 2023 15:20:57 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5609E68C7FB; Sat, 2 Sep 2023 18:19:51 +0300 (EEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8F7E868C7BB for ; Sat, 2 Sep 2023 18:19:41 +0300 (EEST) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-401bdff4cb4so519465e9.3 for ; Sat, 02 Sep 2023 08:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693667980; x=1694272780; 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=YQmU4dt5vZPPA8ODVMkZbJY0SvpOxzjQRYx0P+VCb3g=; b=eILAKa2QlksfnzSV1TRG1OM4yNO/XNYGg1EvsyPOXF6CzaB4v9nJx6U5SEdzcsf3Yi hIzFLjWv/BNCQS3CTeecesNWMgkI3kGUaVM69DeWGQ+btBKUEm2YX86f1s47R3J74jfe caWj7bdGmoGA6k6/v9Wdthg7EhQ5Nnw0gPwYzu/5naY1MynWO4mClIFMwzKDOoxzAaBy XbJlxZ1uOGY9V0QuNcr+13zSpUmEqQk0/uPVtmRkg+cMDwldPrbqUmyIFgj4X69J1rMx otxD/SbN/K6XsNiILhZJ5HLT8z6i/vgnnwzwEukRbhCCAQrMZxTEr+HKH9d6CQwPQaTx KJug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693667980; x=1694272780; 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=YQmU4dt5vZPPA8ODVMkZbJY0SvpOxzjQRYx0P+VCb3g=; b=KvfzxLMICZYK3J6VhEYKi7wcpdRMH0ipCARNCMmy+/r7nY8utYm9pH1fJBA3CkQ4y7 gd6KBps51Nzvt3h3jgnpoUxGpz4rXlYF+MxK11rC43xeBp7b06IpWwsptpKLQkb7UBfp CWSuMimVRVrKqal44cEjW4sW8+3VI0NaFg+B/1CG5rxra+BO2+Qt1q3DBTdAst/lBGsG 4habe+UALLDWzZMMFkfCP5+NsQ2pmWIqoI9u3GblYKlAvWUoUYrGzUENBrQJSNVZzFXl p/mqf7ktG9chKgAYibIB2CctsZmEcgBNrc/lxhkDJxGY/04q+Sjcd0KLhdk9vvt8k31s X5+w== X-Gm-Message-State: AOJu0Yx6zasS5HEsbH0e5mRayFuFjOJKq37GPkjIcQQdMUx8p1S+jAoQ CUGwhOa/IUhyLMhp9u3mw7nZ/CvWMpw= X-Google-Smtp-Source: AGHT+IHNsF4V8GCwkqo5cN96ycRY6KmmiTMBsZ1YN3Gzkk0C9tPpJ8UHoNZ8r+7YADdkpCNeORfqRQ== X-Received: by 2002:a05:600c:2488:b0:401:b7e0:a43c with SMTP id 8-20020a05600c248800b00401b7e0a43cmr3856890wms.24.1693667980254; Sat, 02 Sep 2023 08:19:40 -0700 (PDT) Received: from mariano ([82.84.194.139]) by smtp.gmail.com with ESMTPSA id 12-20020a05600c020c00b003fc04d13242sm11640265wmi.0.2023.09.02.08.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Sep 2023 08:19:37 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 58B2BBFCEA; Sat, 2 Sep 2023 17:19:31 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sat, 2 Sep 2023 17:19:18 +0200 Message-Id: <20230902151921.1712373-9-stefasab@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230902151921.1712373-1-stefasab@gmail.com> References: <20230902151921.1712373-1-stefasab@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 08/11] doc/examples/transcode: use more meaningful labels for filtergraph sinks and sources 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: --- doc/examples/transcode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/examples/transcode.c b/doc/examples/transcode.c index 5671c6664b..b94fdbede2 100644 --- a/doc/examples/transcode.c +++ b/doc/examples/transcode.c @@ -280,14 +280,14 @@ static int init_filter(FilteringContext *fctx, AVCodecContext *dec_ctx, dec_ctx->sample_aspect_ratio.num, dec_ctx->sample_aspect_ratio.den); - ret = avfilter_graph_create_filter(&buffersrc_ctx, buffersrc, "in", + ret = avfilter_graph_create_filter(&buffersrc_ctx, buffersrc, "video-in", args, NULL, filter_graph); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot create buffer source\n"); goto end; } - ret = avfilter_graph_create_filter(&buffersink_ctx, buffersink, "out", + ret = avfilter_graph_create_filter(&buffersink_ctx, buffersink, "video-out", NULL, NULL, filter_graph); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot create buffer sink\n"); @@ -321,14 +321,14 @@ static int init_filter(FilteringContext *fctx, AVCodecContext *dec_ctx, av_get_sample_fmt_name(dec_ctx->sample_fmt), buf); - ret = avfilter_graph_create_filter(&buffersrc_ctx, buffersrc, "in", + ret = avfilter_graph_create_filter(&buffersrc_ctx, buffersrc, "audio-in", args, NULL, filter_graph); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot create audio buffer source\n"); goto end; } - ret = avfilter_graph_create_filter(&buffersink_ctx, buffersink, "out", + ret = avfilter_graph_create_filter(&buffersink_ctx, buffersink, "audio-out", NULL, NULL, filter_graph); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot create audio buffer sink\n"); -- 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".