Removed Framerate class, since its functionality is already represented in the Fraction class. Also, corrected a few unittests, and updated some documentation.

This commit is contained in:
Jonathan Thomas
2014-01-05 23:12:56 -06:00
parent f25f342825
commit e2f5ca8a69
20 changed files with 73 additions and 294 deletions

View File

@@ -122,7 +122,7 @@ Clip::Clip(string path)
{
// Open common video format
reader = new FFmpegReader(path);
cout << "READER FOUND: FFmpegReader" << endl;
} catch(...) { }
}
@@ -133,18 +133,15 @@ Clip::Clip(string path)
{
// Try an image reader
reader = new ImageReader(path);
cout << "READER FOUND: ImageReader" << endl;
} catch(...) {
try
{
// Try a video reader
reader = new FFmpegReader(path);
cout << "READER FOUND: FFmpegReader" << endl;
} catch(BaseException ex) {
// No Reader Found, Throw an exception
cout << "READER NOT FOUND" << endl;
throw ex;
}
}