From patchwork Mon Nov 15 15:23:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 31434 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp5991199iob; Mon, 15 Nov 2021 07:24:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmFMSWWP5waXx+BVwBRd4KiwP6zssU+MTcwq9819xxfkdQnX5XQLSgRgUdze1Yo49U+p4y X-Received: by 2002:a05:6402:2026:: with SMTP id ay6mr18865389edb.202.1636989895453; Mon, 15 Nov 2021 07:24:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636989895; cv=none; d=google.com; s=arc-20160816; b=BstbQVdbFTlqdt+ku3rl0rx7mzkMjfkEJ9OqcMJ8v7HXgudX8PVInTZiTkYa3I4DwK RbrAn4incQBACskLnBM4PVNvM5p7eIfnVGRPBPihVnajy4bqmRHk25ACv57yjVDDCQA+ xyr4gUg3bb9L+ck4EBttUIjX3jioJ7pXIxwnFArbvcOk1/PJap0Bg7PZp0K8QMCVRaTj XOhqhiPOC927FesnAMYgMKfH71HcLKD+igkRv6OKJAvuYf5E4lJceCdUJ+WLkUeevIVf UisD8xALoLUEa6hSUAGr8/d9kmaoHFeneabmwat613pmOVETTHTtatk+qKgUNRdluAis FEOw== 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=aubhDrfswG+90EvN4BxIAroop+HaT+Q+DfqzlZEic+8=; b=JzLd6Utb+MSlOKJ4XAGVDwT5I6dM4koeP5f9GD6dX0ZhR2eVW/8PQ3UAd9CiOd3vbK H/Lh3N62FHy6/qOhmNG2ufkAf0diY3cDPVwEgkVPAi/+kYSEEN8R+o4kOaAAog+utVmm AvcLWjiLUVHBLtqjGafyCAGmpQa19MKOu6AurcG70ugmbGhlkaxmYNI0yflEyFFHK0MO LHkDriIxvof+Pyhq/KYLCYudiUO6dlFs48TeEpgV9Gi0mhSdQsFRAQjvMQEHCcopJok4 xr8p3gtii09tiDPsbUd4hDDCPOngSTlRs7A80P7g23M0wjqMhhKe8iCsO1RcrXTpgXk1 lxpg== 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 b15si37084729ede.50.2021.11.15.07.24.55; Mon, 15 Nov 2021 07:24:55 -0800 (PST) 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 231C768AE5E; Mon, 15 Nov 2021 17:24:19 +0200 (EET) 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 196AF68ADC0 for ; Mon, 15 Nov 2021 17:24:11 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id A8B1C240176 for ; Mon, 15 Nov 2021 16:24:10 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 45j2a5foeXh7 for ; Mon, 15 Nov 2021 16:24:10 +0100 (CET) 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 89E45240177 for ; Mon, 15 Nov 2021 16:24:07 +0100 (CET) Received: by libav.khirnov.net (Postfix, from userid 1000) id 74DFB3A0746; Mon, 15 Nov 2021 16:24:07 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Mon, 15 Nov 2021 16:23:56 +0100 Message-Id: <20211115152400.5522-5-anton@khirnov.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211115152400.5522-1-anton@khirnov.net> References: <20211115152400.5522-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/9] ffmpeg: drop the -tvstd option 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: WoveRylmrKXj It is undocumented and has been deprecated since 2012. --- fftools/ffmpeg_opt.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index e381ef8486..f8e6115241 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -312,12 +312,6 @@ static int opt_sameq(void *optctx, const char *opt, const char *arg) return AVERROR(EINVAL); } -static int opt_video_standard(void *optctx, const char *opt, const char *arg) -{ - av_log(NULL, AV_LOG_WARNING, "This option is deprecated, use -standard.\n"); - return opt_default(optctx, "standard", arg); -} - static int opt_audio_codec(void *optctx, const char *opt, const char *arg) { OptionsContext *o = optctx; @@ -3878,8 +3872,6 @@ const OptionDef options[] = { "set canvas size (WxH or abbreviation)", "size" }, /* grab options */ - { "tvstd", HAS_ARG | OPT_EXPERT | OPT_VIDEO, { .func_arg = opt_video_standard }, - "deprecated, use -standard", "standard" }, { "isync", OPT_BOOL | OPT_EXPERT, { &input_sync }, "this option is deprecated and does nothing", "" }, /* muxer options */