From patchwork Sun Aug 14 22:16:08 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reinhard Nissl X-Patchwork-Id: 11977 Received: from mail.gmx.net ([213.165.64.20]) by www.linuxtv.org with smtp (Exim 4.34) id 1E4QmV-000477-TH for vdr@linuxtv.org; Mon, 15 Aug 2005 00:16:39 +0200 Received: (qmail invoked by alias); 14 Aug 2005 22:16:09 -0000 Received: from dialin-145-254-243-143.arcor-ip.net (EHLO [192.168.101.15]) [145.254.243.143] by mail.gmx.net (mp019) with SMTP; 15 Aug 2005 00:16:09 +0200 X-Authenticated: #527675 Message-ID: <42FFC2A8.4050800@gmx.de> Date: Mon, 15 Aug 2005 00:16:08 +0200 From: Reinhard Nissl User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: VDR-1.3.28: cVideoRepacker sucks (was: Re: [vdr] VDR developer version 1.3.28) References: <42F9271B.3080009@gmx.de> <200508102205.13253.vdr@pickles.me.uk> <4D9872DD43%linux@youmustbejoking.demon.co.uk> In-Reply-To: <4D9872DD43%linux@youmustbejoking.demon.co.uk> X-Y-GMX-Trusted: 0 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 22:16:40 -0000 Status: O X-Status: X-Keywords: X-UID: 4175 Hi, Darren Salt wrote: >>I don't have a good DTV signal and so the data stream will have errors in >>it (though the picture is still watchable). Could this be the problem? > > Could be. I have a good signal here and I'm not seeing any problems. > (Relevant patches: the dvbplayer and replay patches are applied, and I've > recently dropped the dvbspu patch.) It definitely has to do with signal quality. The patch below triggers this issue on my maschine. I'll try to find a solution soon. Bye. --- ../vdr-1.3.28-orig/remux.c 2005-07-30 12:23:00.000000000 +0200 +++ remux.c 2005-08-15 00:09:13.000000000 +0200 @@ -1063,6 +1063,8 @@ void cTS2PES::write_ipack(const uint8_t void cTS2PES::instant_repack(const uint8_t *Buf, int Count) { + *((uint8_t *)Buf) = 0x00; + int c = 0; while (c < Count && (mpeg == 0 || (mpeg == 1 && found < 7) || ...