[mythtv] [PATCH] vsync reimplementation

Kenneth Aafl°y lists at kenneth.aafloy.net
Fri Jul 9 18:29:57 EDT 2004


On Thursday 08 July 2004 13:54, Doug Larrick wrote:
> The attached files reimplement vsync.c's functionality in C++, moving
> all responsibility for frame synchronization to the new classes.
> NuppelVideoPlayer is still responsible for audio-video sync.
>
> I am sending in this version in hopes people will try it, look at the
> code, and give me feedback.  I have done a bunch of testing, but this is
> a lot of new code and I'm sure there are problems remaining.
>
> In particular, I have no way to test DRM or nVidia polling sync methods.
> I'm also curious to see how it performs with non-nVidia TV out: most
> should pick up the new /dev/rtc timer, which is probably an improvement.
[snip feature list]

I've been testing this since I announced that I had merged it into my tree, 
and it has been working just fine on both my desktop and epia configurations. 
It might be a little slower to sync on my epia, as my previous setup was 
almost instant. I have also noticed that a very large difference between 
audio and video (avsync_delay ~= -900000) will cause it not to aquire a sync 
lock. Would it be possible to drop audio or video frames within the first few 
seconds of a start/channel change to really speed up syncing?

Kenneth


More information about the mythtv-dev mailing list