From patchwork Wed Oct 9 10:16:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul B Mahol X-Patchwork-Id: 15615 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 9279E448B76 for ; Wed, 9 Oct 2019 13:17:19 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 764506881B3; Wed, 9 Oct 2019 13:17:19 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 49C8B6881A0 for ; Wed, 9 Oct 2019 13:17:16 +0300 (EEST) Received: by mail-wm1-f67.google.com with SMTP id y21so1921320wmi.0 for ; Wed, 09 Oct 2019 03:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=EisGF/6xwXgCzDfZE2nrEcjb6DfSj6q7IOgPzSQhOWA=; b=Wq5T2fwhaqBzJ82sXccBsSP7F9fA9EdWRjYHRFUdrcNkXjQijQrg8k4HM8cbwz703n bhsdXrt8SV1Sg6s09ENn57fIkN4MGKsj6q+LvaBahd20SDNNLa27g0OTaNDa0Jhpg0Jg T/MREUdhfwJBUcE6XxIUbITqTNiAaKe/sZFmSyjr5hAiuUwfSCTyOIqikFgcE0q3wRTP 1GZgpgFZEhbbZnkhz88dSxxRLACe9tFVHAyl/e3E43CE1QtYm2oT2nsc50hKfuGbMbg7 ch6IhtG3QsP1V3LLYaofLW5U0/FoI8HKr9SCwBvz/UcKuWz6hNskFvVWN0ezGE1hcgaB 4UWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=EisGF/6xwXgCzDfZE2nrEcjb6DfSj6q7IOgPzSQhOWA=; b=AH9x8N4PXiWrXvem4+PQbYHcKNE/jVADdGgXwKu1mn8DSw8xxE1Fq1i6rFC42PxHJb RT+4bCzkmZ+J7OJFdnqUYGs6k9poFlFqWyM0QzkQaSTWikOzBMehdo64LpbXTVS9oO3J LvULclrkZ0mU3yTEArzltVLfEue9xOfiizJOQh/Sq7HpM4NfHRQvqp1j9fLA1w4DXjil M7V8JG6sfp1lrwbzxbUjgrG4B7gBCN68Mme3CQ9joHjhbfW1cUBlngUUznhPZpLdr+vK WJXkJeEhXLaCioAurR15YSXQ54oDw1nxbQOWH37t6fv5SCdGP63w98LDfW4tHt0vpJR4 5NBg== X-Gm-Message-State: APjAAAVnQ+69skZHY9pyrGCJeMrMV9zpsGM/Q/PpFoxf86k76ZjdxnZe t6Pbxj+dGO2cdtnznAY1OoBJXbKF X-Google-Smtp-Source: APXvYqyTSW0WrleN4gkoM/XyjO6xBAwk6Cp1diX6qB3OOFdPmLeJOsf3yxyokbCfhjTf/XZjZXHwSg== X-Received: by 2002:a05:600c:2214:: with SMTP id z20mr2086124wml.10.1570616235466; Wed, 09 Oct 2019 03:17:15 -0700 (PDT) Received: from localhost.localdomain ([37.244.241.148]) by smtp.gmail.com with ESMTPSA id z13sm1727117wrq.51.2019.10.09.03.17.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 03:17:14 -0700 (PDT) From: Paul B Mahol To: ffmpeg-devel@ffmpeg.org Date: Wed, 9 Oct 2019 12:16:54 +0200 Message-Id: <20191009101705.7072-3-onemda@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191009101705.7072-1-onemda@gmail.com> References: <20191009101705.7072-1-onemda@gmail.com> Subject: [FFmpeg-devel] [PATCH 03/14] avutil/opt: print command flag too X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Paul B Mahol --- libavutil/opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/opt.c b/libavutil/opt.c index 7c2649725f..5bc70f7ffc 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1217,6 +1217,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit, av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_EXPORT) ? 'X' : '.'); av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_READONLY) ? 'R' : '.'); av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_BSF_PARAM) ? 'B' : '.'); + av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_COMMAND_PARAM) ? 'C' : '.'); if (opt->help) av_log(av_log_obj, AV_LOG_INFO, " %s", opt->help);