diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/colour_conversion.h | 1 | ||||
| -rw-r--r-- | src/mono_picture_frame.cc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/colour_conversion.h b/src/colour_conversion.h index 1e293f78..47071dd1 100644 --- a/src/colour_conversion.h +++ b/src/colour_conversion.h @@ -47,6 +47,7 @@ class ColourConversion { public: ColourConversion () + : _yuv_to_rgb (YUV_TO_RGB_REC601) {} ColourConversion ( diff --git a/src/mono_picture_frame.cc b/src/mono_picture_frame.cc index 7a863463..0a7d7a11 100644 --- a/src/mono_picture_frame.cc +++ b/src/mono_picture_frame.cc @@ -28,6 +28,7 @@ #include "colour_conversion.h" #include "KM_fileio.h" #include "AS_DCP.h" +#include "compose.hpp" #include <openjpeg.h> #define DCI_GAMMA 2.6 @@ -72,7 +73,7 @@ MonoPictureFrame::MonoPictureFrame (boost::filesystem::path path, int n, ASDCP:: _buffer = new ASDCP::JP2K::FrameBuffer (4 * Kumu::Megabyte); if (ASDCP_FAILURE (reader.ReadFrame (n, *_buffer, c))) { - boost::throw_exception (DCPReadError ("could not read video frame")); + boost::throw_exception (DCPReadError (String::compose ("could not read video frame %1 of %2", n, path.string()))); } } |
