diff options
| author | Comment <tim@gray.(none)> | 2013-04-17 21:06:22 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-04-17 21:06:22 +0100 |
| commit | 66d5eec509cf1a5b376f4111b12dc9f31fe968a0 (patch) | |
| tree | 036cbe156155e213199b52ec3d5c68de1deae670 /rotord/ofxMovieExporter.h | |
| parent | 4dc41d7c3d1b7dab41b648e9677d2b4e1d3d602c (diff) | |
working encoder
Diffstat (limited to 'rotord/ofxMovieExporter.h')
| -rwxr-xr-x[-rw-r--r--] | rotord/ofxMovieExporter.h | 5 |
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; }; |
