summaryrefslogtreecommitdiff
path: root/rotord/src/libavwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/libavwrapper.h')
-rw-r--r--rotord/src/libavwrapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rotord/src/libavwrapper.h b/rotord/src/libavwrapper.h
index 77832a7..0d40503 100644
--- a/rotord/src/libavwrapper.h
+++ b/rotord/src/libavwrapper.h
@@ -170,7 +170,7 @@ namespace libav {
sws_ctx = NULL;
}
};
- bool setup(int w,int h, int bitRate, int frameRate, std::string container);
+ bool setup(int w,int h, int bitRate, int frameRate, std::string container, bool _fragmentation);
bool record(std::string filename);
bool encodeFrame(unsigned char *pixels, uint16_t *samples);
bool encodeFrame(unsigned char *pixels,AVPacket *audiopkt); //is possible to just copy the packets?
@@ -217,6 +217,8 @@ namespace libav {
int frame_count;
uint8_t *outPixels;
+ bool fragmentation;
+
//************************************************************//
// audio output //