From patchwork Sun Feb 14 18:22:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chicken Shack X-Patchwork-Id: 79310 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1EIOLZh007431 for ; Sun, 14 Feb 2010 18:24:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659Ab0BNSX5 (ORCPT ); Sun, 14 Feb 2010 13:23:57 -0500 Received: from mail.gmx.net ([213.165.64.20]:59319 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751975Ab0BNSXw (ORCPT ); Sun, 14 Feb 2010 13:23:52 -0500 Received: (qmail invoked by alias); 14 Feb 2010 18:23:16 -0000 Received: from HSI-KBW-095-208-228-244.hsi5.kabel-badenwuerttemberg.de (EHLO [192.168.0.2]) [95.208.228.244] by mail.gmx.net (mp072) with SMTP; 14 Feb 2010 19:23:16 +0100 X-Authenticated: #8359428 X-Provags-ID: V01U2FsdGVkX1/9VKhgg8v9XLA+6wCzTCmUN0825ox6qgcxfI1wmv JAsfN2tUimIK7g Subject: alevt-dvb now part of the dvb-apps - some critical remarks / enhancements From: Chicken Shack To: Manu Abraham Cc: Francesco Lavra , Linux Media Mailing List Date: Sun, 14 Feb 2010 19:22:53 +0100 Message-ID: <1266171773.17110.25.camel@brian.bconsult.de> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55000000000000004 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sun, 14 Feb 2010 18:24:21 +0000 (UTC) --- a/util/szap/szap.c +++ b/util/szap/szap.c @@ -201,7 +201,7 @@ printf("FE_HAS_LOCK"); printf("\n"); - if (exit_after_tuning && ((status & FE_HAS_LOCK) || (++timeout >= 10))) + if (exit_after_tuning && ((status & FE_HAS_LOCK) && (++timeout == 5))) break; usleep(1000000);