[vlc-devel] Re: QueryPerformanceFrequency suggestion

Kirk Hobart hobart at west.net
Tue Jul 19 15:20:57 CEST 2005

I made further improvement to frame-rate smoothness of DVD playback.

In src\vlc.c I added a call to timeBeginPeriod(5) early in main(), and call 
timeEndPeriod(5) before returning from main(). That improves the resolution 
of the multimedia timer and therefore Sleep(). Frame rate smoothness 
improved noticeably. Unfortunately it also increased CPU utilization. Also, 
vlc.c is probably not the best place to put those calls, but I'm very new 
to VLC.

The frame rate smoothness is getting better, but it's not 100% smooth yet. 
I'll continue exploring.


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list