Skip to content

Commit 05b7da4

Browse files
authored
Fix so video will render in browser. (#7797)
1 parent 692cfb4 commit 05b7da4

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
Binary file not shown.
Binary file not shown.

examples/computer_vision/opencvOpticalFlowExample/src/ofApp.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void ofApp::setup(){
99
vidGrabber.setVerbose(true);
1010
vidGrabber.setup(1280,720);
1111
#else
12-
vidPlayer.load("Hand3s.mov");
12+
vidPlayer.load("Hand3s.mp4");
1313
vidPlayer.play();
1414
vidPlayer.setLoopState(OF_LOOP_NORMAL);
1515
#endif
@@ -266,8 +266,7 @@ void ofApp::draw(){
266266

267267
ofSetColor( 255 );
268268
float scale = grayImage.getWidth() / MAX(1,currentImage.getWidth());
269-
270-
269+
271270
if(grayImage.bAllocated){
272271
if( mode == MODE_SPIN_CUBES ){
273272
ofEnableDepthTest();

0 commit comments

Comments
 (0)