[c-host] app: inital capture is now working

This commit is contained in:
Geoffrey McRae
2019-03-04 09:37:50 +11:00
parent ff850c4251
commit fcc06dfad4
5 changed files with 76 additions and 4 deletions

View File

@@ -203,6 +203,7 @@ static bool xcb_getFrame(CaptureFrame * frame)
frame->width = this->width;
frame->height = this->height;
frame->pitch = this->width * 4;
frame->stride = this->width;
frame->format = CAPTURE_FMT_BGRA;
memcpy(frame->data, this->data, this->width * this->height * 4);