Added Profile class, which can load profile data from a text file, and generate Json from the profile.

This commit is contained in:
Jonathan Thomas
2014-01-09 17:37:04 -06:00
parent 3c99e53dad
commit dfe96b638c
7 changed files with 301 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ using namespace tr1;
int main(int argc, char* argv[])
{
Profile p("/home/jonathan/Apps/openshot/openshot/profiles/atsc_1080p_25");
return 0;
Timeline t77(640, 480, Fraction(24,1), 44100, 2);
t77.ApplyJsonDiff("[{\"type\":\"insert\",\"key\":[\"effects\",\"effect\"],\"value\":{\"end\":0,\"id\":\"e004\",\"layer\":0,\"order\":0,\"position\":0,\"start\":0,\"type\":\"Negate\"}}]");