|
|
@ -250,7 +250,7 @@ int main(int argc, char **argv) { |
|
|
|
cv::cvtColor(frameBuffer, videoFrame, cv::COLOR_BGRA2RGB); |
|
|
|
cv::cvtColor(frameBuffer, videoFrame, cv::COLOR_BGRA2RGB); |
|
|
|
gl::release_to_gl(frameBuffer); |
|
|
|
gl::release_to_gl(frameBuffer); |
|
|
|
|
|
|
|
|
|
|
|
//if x11 is enabled it displays the framebuffer in the native window. Returns false if the window was closed.
|
|
|
|
//If x11 is enabled it displays the framebuffer in the native window. Returns false if the window was closed.
|
|
|
|
if(!gl::display()) |
|
|
|
if(!gl::display()) |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|