From patchwork Sun Jun 30 10:32:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marko Lukat X-Patchwork-Id: 102830 Received: from sv.mirrors.kernel.org ([139.178.88.99]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sNrrD-0004Ew-1f for patchwork@linuxtv.org; Sun, 30 Jun 2024 10:32:33 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C2997281E8A for ; Sun, 30 Jun 2024 10:32:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22AC1136E0E; Sun, 30 Jun 2024 10:32:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=m4com.de header.i=@m4com.de header.b="ltG2Ju36" X-Original-To: linux-media@vger.kernel.org Received: from mgw1.m4com.de (mgw1.m4com.de [159.69.93.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B84B132117 for ; Sun, 30 Jun 2024 10:32:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.93.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719743548; cv=none; b=gReR82q8+sUDCuHhJQ8JZOIw/nAkek+LJoJaE3xkp3P67OrdVEH/3CfgQqraUV2Y8i7jaghSUsz4cOkhYtl6pFv20O3lMaUvyzl/jZrlFwom9d+mW720tFVFwIYhf0n2KJoKrnmbVEx3tD4vImJyCDJJWttqR2PXxTjxMYtym5A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719743548; c=relaxed/simple; bh=qctuKGUJGZDRZY2BDq9vaJd2VTI8nfPTT4w5qpFAeb4=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=Le2eQ2Zq8nG0qSz/W0mQYXvKMlSVqsjlDk/Vnf69ubBC0b4v87tibCqQp65Y9eJJw99/zWEtpS7KIT7qvLFWVpkke8espONitBSk8iQypc+vghG0sf6TuzHw7AiMdnUfuPmcsKDVwn2ThNC42Q8HaFpTvnWfCgRF80a9LmwCpzc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=m4com.de; spf=pass smtp.mailfrom=m4com.de; dkim=pass (4096-bit key) header.d=m4com.de header.i=@m4com.de header.b=ltG2Ju36; arc=none smtp.client-ip=159.69.93.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=m4com.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=m4com.de Received: from mgw1 (localhost.localdomain [127.0.0.1]) by mgw1.m4com.de (Proxmox) with ESMTP id B71B6203B622; Sun, 30 Jun 2024 12:32:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=m4com.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :from:from:message-id:mime-version:reply-to:subject:subject:to :to; s=m4com.de; bh=LEbUvZKiOOiLyTTrWnYd4ZeTElddCXHbjFfgoVAJcbo=; b= ltG2Ju361/2LJ3VPuKb32d7tTMnlaLe6Ke7JtU7+kZBvYBbK/l+hueiekjrS+JwL YTL/4eX5JpaizVL7e5vXggyhs7L6V0X3i6Dd/bfdPO8g+mKbxfzDnSf7th9DSPkm nMfR4oBNXwSttKiHm9b78MRRcZAsv6kxZ4qGTu6oU7X79ZBr0NEfGexMn9QNqNU0 zmZQ1pB3QOlwDyRfSjONFJplQJKuPC7Xny8torCYmBJ6ErPopt+lBjWy/+uvOjpv Ifh7PDX0RMO7S5I4O2FxZR9KlsHVzqZKIRjDK76hhfV1sMrN/OB8lTMz8szfjXcU snZ47B3uzN6xxTOpPpKcaZuGYzsSCmmmjr5RzX8XbKutSOJARQ8Dx4BNH3Regh7y 7R3VXWUWb5jJfb0R2CWBQRCwHjZejiB5bsshW7MgNBDqo+V4o1G6PoIB1byoeaLP l84W+CJG6gnggIKxV0Hba4bjkkX3n2nC03GOVuRRLjfiBsvz8hMOOy8Snht50gt6 +yieeK/eb5dJN+WqbUxNMFICDzGNNTtP9R7HQYh17tiIDnuLktnO0lqp+pEYAul7 jvxQSDy5l1zcesYg0K82IG5IX782v3c6ZWInvgHivENZovAc6oMlAzid3U0qNvrc PxPrL5WrZptvobOHpPkdzX+HT1qNH3Srm4lTnrkwOcM= Message-ID: <5c6133b4-7c98-441d-924d-bbdf36f440f4@m4com.de> Date: Sun, 30 Jun 2024 12:32:03 +0200 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: linux-media@vger.kernel.org Cc: mchehab@kernel.org From: Marko Lukat Subject: [PATCH 1/1] v4l-utils: fixed DVBv3 error block count X-LSpam-Score: -4.9 (----) X-LSpam-Report: No, score=-4.9 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no _dvb_fe_get_stats() - when falling back to DVBv3 - reports DTV_STAT_CNR instead of DTV_STAT_ERROR_BLOCK_COUNT. Signed-off-by: Marko Lukat diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c index 7848fcda..4ff9eee0 100644 --- a/lib/libdvbv5/dvb-fe.c +++ b/lib/libdvbv5/dvb-fe.c @@ -1520,7 +1520,7 @@ dvbv3_fallback: scale = FE_SCALE_NOT_AVAILABLE; else scale = FE_SCALE_COUNTER; - dvb_fe_store_stats(parms, DTV_STAT_ERROR_BLOCK_COUNT, scale, 0, snr); + dvb_fe_store_stats(parms, DTV_STAT_ERROR_BLOCK_COUNT, scale, 0, ucb); if (parms->p.verbose > 1) { dvb_log(_("Status: "));