From patchwork Tue Apr 4 09:57:54 2006 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12244 Received: from c-71-197-74-6.hsd1.ca.comcast.net ([71.197.74.6] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1FQiEb-0007lq-7D for vdr@linuxtv.org; Tue, 04 Apr 2006 11:54:01 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id EECC773546 for ; Tue, 4 Apr 2006 02:53:47 -0700 (PDT) Message-ID: <44324322.6080605@syphir.sytes.net> Date: Tue, 04 Apr 2006 02:57:54 -0700 From: "C.Y.M" Organization: CooLNeT User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Vdr X-Enigmail-Version: 0.94.0.0 Subject: [vdr] hardcoded NTSC/PAL values in VDR? X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 09:54:02 -0000 Status: O X-Status: X-Keywords: X-UID: 8715 There seem to be a few hardcoded values for PAL in VDR's source code. Klaus, can you tell me if any of these would make a difference to a NTSC only system? I know that most tv's in Europe can do both NTSC and PAL. Unfortunately, almost all the tv's in America only support NTSC and cant handle the PAL formats. BR. diff -ruN vdr-1.3.45.orig/recording.h vdr-1.3.45/recording.h --- vdr-1.3.45.orig/recording.h 2006-03-26 08:34:35.000000000 -0800 +++ vdr-1.3.45/recording.h 2006-03-26 08:36:45.000000000 -0800 @@ -179,7 +179,7 @@ }; //XXX+ -#define FRAMESPERSEC 25 +#define FRAMESPERSEC 30 // The maximum size of a single frame (up to HDTV 1920x1080): #define MAXFRAMESIZE KILOBYTE(512) --- vdr-1.3.45/dvbosd.c.orig 2006-04-04 02:46:01.000000000 -0700 +++ vdr-1.3.45/dvbosd.c 2006-04-04 02:47:00.000000000 -0700 @@ -85,7 +85,7 @@ return oeBppNotSupported; if ((Areas[i].Width() & (8 / Areas[i].bpp - 1)) != 0) return oeWrongAlignment; - if (Areas[i].Width() < 1 || Areas[i].Height() < 1 || Areas[i].Width() > 720 || Areas[i].Height() > 576) + if (Areas[i].Width() < 1 || Areas[i].Height() < 1 || Areas[i].Width() > 720 || Areas[i].Height() > 480) return oeWrongAreaSize; TotalMemory += Areas[i].Width() * Areas[i].Height() / (8 / Areas[i].bpp); } --- vdr-1.3.45/dvbspu.c.orig 2006-04-04 02:46:15.000000000 -0700 +++ vdr-1.3.45/dvbspu.c 2006-04-04 02:47:21.000000000 -0700 @@ -56,7 +56,7 @@ #define setMax(a, b) if (a < b) a = b #define spuXres 720 -#define spuYres 576 +#define spuYres 480 #define revRect(r1, r2) { r1.x1 = r2.x2; r1.y1 = r2.y2; r1.x2 = r2.x1; r1.y2 = r2.y1; }