Re: [PATCH weston 1/2] vaapi-recorder: Encode frames in a separate thread

2013-09-11 Thread Kristian Høgsberg
On Fri, Sep 06, 2013 at 05:49:37PM +0300, Ander Conselvan de Oliveira wrote: > Previously, vaapi_recorder_frame() would wait until the encoded > contents for a frame is written to the output file descriptor. This > delayed the repainting of the next frame, and affected frame rate > when capturing w

[PATCH weston 1/2] vaapi-recorder: Encode frames in a separate thread

2013-09-06 Thread Ander Conselvan de Oliveira
Previously, vaapi_recorder_frame() would wait until the encoded contents for a frame is written to the output file descriptor. This delayed the repainting of the next frame, and affected frame rate when capturing with high resolutions. Instead, wait only if there is and attempted to encode two fram