summaryrefslogtreecommitdiff
path: root/rotord/ofxMovieExporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/ofxMovieExporter.h')
-rwxr-xr-x[-rw-r--r--]rotord/ofxMovieExporter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rotord/ofxMovieExporter.h b/rotord/ofxMovieExporter.h
index ebd794c..507751e 100644..100755
--- a/rotord/ofxMovieExporter.h
+++ b/rotord/ofxMovieExporter.h
@@ -133,7 +133,7 @@ class ofxMovieExporter
inline int getRecordingWidth() {return outW;}
inline int getRecordingHeight() {return outH;}
- void encodeFrame(unsigned char *pixels,int w,int h);
+ bool encodeFrame(unsigned char *pixels);
private:
//#ifdef _THREAD_CAPTURE
@@ -165,6 +165,7 @@ class ofxMovieExporter
AVOutputFormat* outputFormat;
AVFormatContext* formatCtx;
AVStream* videoStream;
+ AVStream* audioStream;
AVCodec* codec;
AVCodecContext* codecCtx;
@@ -184,5 +185,7 @@ class ofxMovieExporter
bool usePixelSource;
unsigned char* pixelSource;
+
+ int frame_ticks;
};