summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-11 14:04:58 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-11 14:04:58 +0000
commit3af978d2d688cb1e4be7c8d95155a6b8cc7456a3 (patch)
treefdb7f3fe7eea7a433d38d14307e78731d1e49dc2 /src/lib/exceptions.cc
parent0523d4a83d7d334560d261686bdb329eea8bfb96 (diff)
Various work on SubRip.
Diffstat (limited to 'src/lib/exceptions.cc')
-rw-r--r--src/lib/exceptions.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index 8144f41b9..e05ac4ff0 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -56,8 +56,14 @@ MissingSettingError::MissingSettingError (string s)
}
-PixelFormatError::PixelFormatError (std::string o, AVPixelFormat f)
+PixelFormatError::PixelFormatError (string o, AVPixelFormat f)
: StringError (String::compose (_("Cannot handle pixel format %1 during %2"), f, o))
{
}
+
+SubRipError::SubRipError (string saw, string expecting, boost::filesystem::path f)
+ : FileError (String::compose (_("Error in SubRip file: saw %1 while expecting %2"), saw, expecting), f)
+{
+
+}