Added effects processing to a clip, so clips can carry their own independent effects... rather than depend on the timeline. This still needs some refactoring though.

This commit is contained in:
Jonathan Thomas
2015-03-14 01:36:13 -05:00
parent e2ee3d01f2
commit b07936e3b2
6 changed files with 213 additions and 18 deletions

View File

@@ -42,6 +42,18 @@ using namespace tr1;
int main(int argc, char* argv[])
{
Clip c10("/home/jonathan/Videos/sintel_trailer-720p.mp4");
c10.Open();
Negate n;
c10.AddEffect(&n);
tr1::shared_ptr<Frame> f =c10.GetFrame(500);
f->Display();
return 0;
// Test getting lots of JSON
cout << "starting..." << endl;