[mythtv] [PATCH] Partial fix to intermittent AV sync problemwith DVB cards

Paul Woodward paul_woodward at fastnet.co.uk
Mon Aug 23 19:18:40 EDT 2004


Whatever got committed in today/yesterday has hugely improved my DVB-T
stability.

Thanks, Paul

-----Original Message-----
From: mythtv-dev-bounces at mythtv.org
[mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Damian Ivereigh
Sent: 23 August 2004 23:20
To: Development of mythtv
Subject: Re: [mythtv] [PATCH] Partial fix to intermittent AV sync
problemwith DVB cards

On Tue, 2004-08-24 at 03:54, Isaac Richards wrote:
> On Monday 23 August 2004 10:33 am, Damian Ivereigh wrote:

> > This patch removes this bit of code from all the
> > libmyth/audiooutput*.cpp files. Note I have only tested it with the
OSS
> > files, but the fix seems reasonable.
> 
> I don't see how this patch fixes anything.  The code in question
throws out 
> bad timestamps (if they're less than 0), and instead guesses the next 
> timestamp from the existing data..    

The trouble is is there isn't the equivalent code in the video section,
so it doesn't actually fix anything. Anyway fair enough. I will have
another attack.

So what I am hearing you say is that a negative timecode is not
reasonable. That is what I was unsure of. Could you tell me where these
timestamps come from in the context of DVB? Are they stored in the
ringbuffer file? Are they placed there by the recording code.

I believe what is happening is that they are starting with an
uninitialised variable and every so often it happens to go negative,
which then screws up the AVsync code. 

Damian
 
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-- 
Damian Ivereigh
CEPS Team Lead
Desk: +61 2 8446 6344
Mob: +61 418 217 582

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html 

PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x24E7A68F

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004
 
    



More information about the mythtv-dev mailing list