You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Hooked up the ChunkReader, integrated into cmake, and have it successfully "loading" the JSON info file and validating the chunk folder path.
This commit is contained in:
@@ -114,6 +114,16 @@ namespace openshot {
|
||||
virtual ~InvalidFormat() throw () {}
|
||||
};
|
||||
|
||||
/// Exception for invalid JSON
|
||||
class InvalidJSON : public BaseException
|
||||
{
|
||||
public:
|
||||
string file_path;
|
||||
InvalidJSON(string message, string file_path)
|
||||
: BaseException(message), file_path(file_path) { }
|
||||
virtual ~InvalidJSON() throw () {}
|
||||
};
|
||||
|
||||
/// Exception when invalid encoding options are used
|
||||
class InvalidOptions : public BaseException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user