From 6e615b00dbb54f33b928e0de0695087709fbc073 Mon Sep 17 00:00:00 2001 From: Comment Date: Mon, 23 Sep 2013 11:51:28 +0100 Subject: MP4 fragmentation control API --- rotord/src/libavwrapper.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rotord/src/libavwrapper.h') 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 // -- cgit v1.2.3