Skip to content

Commit 13abb57

Browse files
committed
fixed video to output pin
1 parent 28416fa commit 13abb57

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/objects/video/VideoPlayer.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,7 @@ void VideoPlayer::drawObjectContent(ofxFontStash *font, shared_ptr<ofBaseGLRende
155155
static_cast<ofTexture *>(_outletParams[0])->allocate(video->getWidth(),video->getHeight(),GL_RGB);
156156
static_cast<ofTexture *>(_outletParams[0])->clear();
157157
}else{
158-
#ifdef TARGET_OSX
159-
*static_cast<ofTexture *>(_outletParams[0]) = video->getTexture();
160-
#else
161158
static_cast<ofTexture *>(_outletParams[0])->loadData(video->getPixels());
162-
#endif
163159
}
164160

165161
// listen to message control (_inletParams[0])

0 commit comments

Comments
 (0)