Updated mp4 to parse some information from JSON-style metadata, guesses values if not present.

This commit is contained in:
Thulinma 2012-08-23 17:06:25 +02:00
parent 48bf3d189a
commit 4ac7c54698
2 changed files with 10 additions and 4 deletions

View file

@ -2,6 +2,7 @@
#include <string>
#include <stdint.h>
#include <vector>
#include "json.h"
/// Contains all MP4 format related code.
namespace MP4{
@ -125,7 +126,7 @@ namespace MP4{
Box * Container;
};//ASRT Box
std::string GenerateLiveBootstrap( uint32_t CurMediaTime );
std::string GenerateLiveBootstrap( JSON::Value & metadata );
std::string mdatFold(std::string data);
};