vlc-cvs video output jerky

Gildas Bazin gbazin at netcourrier.com
Thu Jan 10 22:53:43 CET 2002


On Thursday 10 January 2002 22:16, Samuel Hocevar wrote:
> 
>    As for the Shm completion events, I didn't investigate enough to see
> if they could be ignored in favor of XSync() calls, but this email from
> the libSDL author seems to confirm my feelings:
> 
>    http://www.libsdl.org/pipermail/sdl/2000-June/028298.html
> 

Ok, looks like I was wrong when I said that Xsync() wasn't enough to be sure 
the Shm buffer was displayed. I also found this mail:

http://www.xfree86.org/pipermail/xpert/2001-June/009161.html
Extract:
-------------------------
> So, as you mention below, if I have waited for the ShmCompletionEvent
> I can zero out the buffer I passed and it won't effect the drawing of
> the last frame I sent right?

   Correct.  Calling XSync would do the same.  Or calling any other
function that requires a reply (some Query) or calling any routine
that waits for an event (like XNextEvent).
--------------------------

This one is also interesting:
http://www.xfree86.org/pipermail/xpert/2001-June/009127.html

Cheers,

--
Gildas




More information about the vlc mailing list