From edeccbd160c72553d789516b40d4b922df848aac Mon Sep 17 00:00:00 2001 From: tim Date: Tue, 13 Jun 2017 23:10:55 +0100 Subject: dirscanner playing --- testDir/src/dirscanner.cpp | 17 ++++++++++++----- testDir/src/main.cpp | 7 +++++-- testDir/src/ofApp.cpp | 4 ++-- 3 files changed, 19 insertions(+), 9 deletions(-) (limited to 'testDir') diff --git a/testDir/src/dirscanner.cpp b/testDir/src/dirscanner.cpp index f3aa974..c3101a5 100644 --- a/testDir/src/dirscanner.cpp +++ b/testDir/src/dirscanner.cpp @@ -1,12 +1,13 @@ #include "dirscanner.h" void playItem::play(){ + ofLogNotice() << "playing----->"<5.0){ @@ -42,7 +44,9 @@ void playItem::draw(){ } } if (video.isLoaded()){ - video.draw(0,0); + video.update(); + video.draw(0,0,ofGetWidth(),ofGetHeight()); + //ofLogNotice() << "position: "<