[mythtv] [PATCH] vsync reimplementation

Kenneth Aafl°y lists at kenneth.aafloy.net
Wed Jul 14 09:43:42 EDT 2004


On Wednesday 14 July 2004 13:42, Doug Larrick wrote:
> OK, here's the most recent version of this work.  It's looking pretty
> good.  I've implemented Kenneth's suggestion to drop or extend frames if
> we're grossly out of a/v sync.  In doing this I merged the VTAVSync and
> ExAVSync member functions (and their Init and Shutdown counterparts)
> into one set of functions, making for a lot less (poorly-)replicated
> code in NuppelVideoPlayer.

Thanks, but...

On Tuesday 13 July 2004 13:42, Doug Larrick wrote:
> Can you make available a minute or so of a clip that starts up poorly so
> I can test it?

It appears that I introduced a bug when I was working with the teletext patch, 
which generated invalid pts data (in comparison with the original ts), so it 
should not occur in normal operation. But if you still want a sample with 
very bad pts info, I could put in the bug again, and make a sample.

This new patch will aquire sync faster even on normal streams, won't it?
I'm sorry if you did unecessary work on behalf of my bugreport. 

> Which avsync method are you using (video or audio  timebase),
> and which timer method? 

On my desktop (w/GeForce TI4200 & 6106) I tested with OpenGL, RTC, and the 
busy wait method, on my epia m10k I tested RTC and busy wait. Both is using 
audio timebase, and all methods performed more or less equally.

Kenneth


More information about the mythtv-dev mailing list