summaryrefslogtreecommitdiff
path: root/rotord/src/libavwrapper.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-09-23 11:51:28 +0100
committerComment <tim@gray.(none)>2013-09-23 11:51:28 +0100
commit6e615b00dbb54f33b928e0de0695087709fbc073 (patch)
treea852af1b89c007a05f84d36e8505913b34a08d45 /rotord/src/libavwrapper.h
parent6fac9b5e406d7be3fbfd67cb5d21272727f6043a (diff)
MP4 fragmentation control API
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 //