File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
input_output/imageLoaderWebExample/src
video/videoGrabberExample/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ void ofApp::setup(){
1212
1313// --------------------------------------------------------------
1414void ofApp::urlResponse (ofHttpResponse & response){
15- if (response.status ==200 && response.request .name == " tsingy_forest " ){
15+ if (response.status ==200 && response.request .name == " about " ){
1616 img.load (response.data );
1717 loading=false ;
1818 }else {
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ void ofApp::setup(){
1919 }
2020
2121 vidGrabber.setDeviceID (0 );
22- vidGrabber.setDesiredFrameRate (60 );
22+ vidGrabber.setDesiredFrameRate (30 );
2323 vidGrabber.initGrabber (camWidth, camHeight);
2424
25- videoInverted.allocate (camWidth, camHeight , OF_PIXELS_RGB);
25+ videoInverted.allocate (vidGrabber. getWidth (), vidGrabber. getHeight () , OF_PIXELS_RGB);
2626 videoTexture.allocate (videoInverted);
2727 ofSetVerticalSync (true );
2828}
You can’t perform that action at this time.
0 commit comments