X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fstereo_picture_frame.cc;fp=src%2Fstereo_picture_frame.cc;h=3ee08303f42f25c7512cadb8b288d191a616d523;hb=3cab293bf022c87ad3775aec2eb5a7d6e997295d;hp=ac7d7bf19acd8095eb1fc5da12f0a7026018dd85;hpb=484a9009ff684bedca3f2cf4868e7dd03215d8e8;p=libdcp.git diff --git a/src/stereo_picture_frame.cc b/src/stereo_picture_frame.cc index ac7d7bf1..3ee08303 100644 --- a/src/stereo_picture_frame.cc +++ b/src/stereo_picture_frame.cc @@ -24,6 +24,7 @@ #include "colour_conversion.h" #include "AS_DCP.h" #include "KM_fileio.h" +#include "compose.hpp" #include #define DCI_GAMMA 2.6 @@ -48,7 +49,7 @@ StereoPictureFrame::StereoPictureFrame (boost::filesystem::path mxf_path, int n) _buffer = new ASDCP::JP2K::SFrameBuffer (4 * Kumu::Megabyte); if (ASDCP_FAILURE (reader.ReadFrame (n, *_buffer))) { - boost::throw_exception (DCPReadError ("could not read video frame")); + boost::throw_exception (DCPReadError (String::compose ("could not read video frame %1 of %2", n, mxf_path.string()))); } }