Synchronising with vertical refresh in Windows

Hi,

I’m working on an SDL application to display video with superimposed text
and graphics, using the libavcodec and compiling with MSVC 8. I’m
experiencing problems with flicker on the text & graphics, which I’m sure is
to do with a lack of vertical refresh sync.

Can anyone either advise how to synchronise in Windows, or point me in the
right direction of a sample app. which does this sort of thing?

Thanks,

Jayne.

Hello Jayne,

Monday, December 4, 2006, 1:06:11 PM, you wrote:

Hi,

I’m working on an SDL application to display video with superimposed text
and graphics, using the libavcodec and compiling with MSVC 8. I’m
experiencing problems with flicker on the text & graphics, which I’m sure is
to do with a lack of vertical refresh sync.

Is this in fullscreen or windowed mode ?
Are you using SDL_DOUBLEBUF when you open your screen mode?–
Best regards,
Peter mailto:@Peter_Mulholland