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

Damian Ivereigh damian at cisco.com
Mon Aug 23 18:20:27 EDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040824/688d48d6/attachment.pgp


More information about the mythtv-dev mailing list