From patchwork Fri Jan 11 19:21:04 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Reinhard Nissl X-Patchwork-Id: 12575 Received: from mail.gmx.net ([213.165.64.20]) by www.linuxtv.org with smtp (Exim 4.63) (envelope-from ) id 1JDPRg-0000a6-4I for vdr@linuxtv.org; Fri, 11 Jan 2008 20:21:36 +0100 Received: (qmail invoked by alias); 11 Jan 2008 19:21:05 -0000 Received: from p549329D1.dip0.t-ipconnect.de (EHLO [192.168.101.15]) [84.147.41.209] by mail.gmx.net (mp043) with SMTP; 11 Jan 2008 20:21:05 +0100 X-Authenticated: #527675 X-Provags-ID: V01U2FsdGVkX1/PnytVtErP97TxEjJiiI0vgoxSSB3rs9baSNZnGJ FFJFCgoCyb+YG+ Message-ID: <4787C1A0.8050106@gmx.de> Date: Fri, 11 Jan 2008 20:21:04 +0100 From: Reinhard Nissl User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.9) Gecko/20070801 SUSE/2.0.0.9-0.1 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: VDR Mailing List References: <47868418.2090301@gmx.de> In-Reply-To: <47868418.2090301@gmx.de> X-Y-GMX-Trusted: 0 Subject: Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine] X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 19:21:36 -0000 Status: O X-Status: X-Keywords: X-UID: 15049 Hi, Reinhard Nissl schrieb: > So it seems to me that either the emulation layer has a bug for > DVB-T or the patched VDR passes incorrect data to the new API. Looks like the latter is true: Marco Schlüßler informed me that the mapping of TransmissionModes in nit.c for DVB-T is wrong. I've created the attached patch according to his' instructions. Please give the patch a try and report success or failure. Bye. --- ../vdr-1.5.12-dvbs2-other/nit.c 2008-01-01 22:55:18.000000000 +0100 +++ nit.c 2008-01-11 20:15:15.000000000 +0100 @@ -239,7 +239,7 @@ void cNitFilter::Process(u_short Pid, u_ int CodeRateLP = CodeRates[sd->getCodeRateLP()]; static int GuardIntervals[] = { DVBFE_GUARD_INTERVAL_1_32, DVBFE_GUARD_INTERVAL_1_16, DVBFE_GUARD_INTERVAL_1_8, DVBFE_GUARD_INTERVAL_1_4 }; int GuardInterval = GuardIntervals[sd->getGuardInterval()]; - static int TransmissionModes[] = { DVBFE_TRANSMISSION_MODE_2K, DVBFE_TRANSMISSION_MODE_4K, DVBFE_TRANSMISSION_MODE_8K, DVBFE_TRANSMISSION_MODE_AUTO }; + static int TransmissionModes[] = { DVBFE_TRANSMISSION_MODE_2K, DVBFE_TRANSMISSION_MODE_8K, DVBFE_TRANSMISSION_MODE_4K, DVBFE_TRANSMISSION_MODE_AUTO }; int TransmissionMode = TransmissionModes[sd->getTransmissionMode()]; static int Alphas[] = { DVBFE_ALPHA_1, DVBFE_ALPHA_2, DVBFE_ALPHA_4 }; static int Priorities[] = { DVBFE_STREAM_PRIORITY_LP, DVBFE_STREAM_PRIORITY_HP };