[mythtv] Question on Xv output and NuppelVideoPlayer

J. Donavan Stanley jdonavan at jdonavan.net
Fri Jul 2 06:14:30 EDT 2004


Clyde Stubbs wrote:

>Isaac,
>
>thanks for the reply;
>
>On Thu, Jul 01, 2004 at 03:00:22PM -0400, Isaac Richards wrote:
>
>  
>
>>displayed.  The XSync call makes it wait and not return until the image has
>>been displayed (ie, the XvPutImage request has been completed).  Separating
>>    
>>
>
>No, it doesn't. All XSync does is send a GetInputFocus request to the X server
>and waits for the reply. 
>

The *XSync()* function flushes the output buffer and then waits until 
all requests have been received and processed by the X server. Any 
errors generated must be handled by the error handler. For each protocol 
error received by Xlib, *XSync()* calls the client application's error 
handling routine (see "Using the Default Error Handlers 
<http://tronche.com/gui/x/xlib/event-handling/protocol-errors/default-handlers.html>"). 
Any events generated by the server are enqueued into the library's event 
queue.


The part about flushing the output buffer would tend to disagree...


More information about the mythtv-dev mailing list