Improved video buffer write to thread behavior.