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 9BF2945CB8 for ; Sat, 29 Jun 2024 01:50:25 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7C30B68D69C; Sat, 29 Jun 2024 04:50:17 +0300 (EEST) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2F60E68D333 for ; Sat, 29 Jun 2024 04:50:11 +0300 (EEST) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-361785bfa71so906143f8f.2 for ; Fri, 28 Jun 2024 18:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719625810; x=1720230610; 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=bnOTbSQbYGg3Ydix03TchKbous0QH8Q/lAG7LNeaIKE=; b=De6isjwL7KXmwoY7JWmwCqBsboUahkqgad4uNU7qLClvqwhevCufYOaOYboZe6OtK9 7bVD8BB9d3B/YSjuOXYEFx/6U0v7B1HTEnL/L+wVgBNR5R0mjdFgLoXRw1iUkfe0HHOw kIA2A3A3Ts8Ol1XSsu/xXAKGaNK+rV4KoDZFFpwb0ZL84pr++FGVlh8bF8nIPgK8QerF 3ckSFLy/AjEFraA0G8XJJ6yTrHerDsbXWlwPE3Z23qcqi6s8K/rknm4a3vMIjjDYrZPl ewiWQsOnC2RcaDFekAdDw7J+bBglg6iXp/CmQr+NiTZqlykNIctFRUYcyQ9UO4tJ8hmm b5iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719625810; x=1720230610; 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=bnOTbSQbYGg3Ydix03TchKbous0QH8Q/lAG7LNeaIKE=; b=FiaPlaQaWcCJuR/AUcGiu1jjgaAeCRbsa7r/xEbopUHQqnUq9C1a8ogMFiKsg9vJXP V5YAcmeIg0Ke/QbNDIgv4d3aorREw0fFv0H9LOu5vxPIWH0lFA3FqfG3T4Y221e+RJ/K KPQgu/kK6lHHxAtkQQUMoJY/jyM8YHcrBBV8UPmFX3QzA9ONx3JMi6/gFGT7d/2OcE4U fGcdoTV5fjgJ+a87xZUDkFBkF+rtr+Ljffc2otEQy4qFhfN3Ei0LOK24p0h0b+/d4TSl azTtVj+VPNnlNQaig8dlu+eSW3NCs1pGeDZXs8y8r0GuvuNtANEThMapZG3aCCCQDvUE IDtA== X-Gm-Message-State: AOJu0Yy6JpuXlFU0rokWr+54wNjBKnpV7MjA7vrns1DRAi6fibrsZ0MD lKZms8fMkK5HTxZqJjnqJocTgW4lqzKVQzHzRUsU+/wQUYVb/1dGflkScppI X-Google-Smtp-Source: AGHT+IHr/G2D8+FD7CLL9U8jbHJZbIhBBwjuatrgWmjEKBcOZee4OQU8qXmcL79ypc+REtiQ8wQEjA== X-Received: by 2002:a05:6000:ecd:b0:362:1b31:b365 with SMTP id ffacd0b85a97d-366e79fea3fmr11425527f8f.28.1719625810130; Fri, 28 Jun 2024 18:50:10 -0700 (PDT) Received: from localhost.localdomain ([49.51.162.193]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0e1481sm3721479f8f.55.2024.06.28.18.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 18:50:09 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Sat, 29 Jun 2024 09:49:59 +0800 Message-Id: <20240629014959.1940640-2-mypopy@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240629014959.1940640-1-mypopy@gmail.com> References: <20240629014959.1940640-1-mypopy@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] lavf/scdet: minor fix 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: Jun Zhao , Jun Zhao 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: From: Jun Zhao Change dbl to i64 for bool type Signed-off-by: Jun Zhao --- libavfilter/vf_scdet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c index 15399cfebf..705bdf9777 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -53,8 +53,8 @@ typedef struct SCDetContext { static const AVOption scdet_options[] = { { "threshold", "set scene change detect threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl = 10.}, 0, 100., V|F }, { "t", "set scene change detect threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl = 10.}, 0, 100., V|F }, - { "sc_pass", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.dbl = 0 }, 0, 1, V|F }, - { "s", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.dbl = 0 }, 0, 1, V|F }, + { "sc_pass", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, V|F }, + { "s", "Set the flag to pass scene change frames", OFFSET(sc_pass), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, V|F }, {NULL} }; -- 2.25.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".