diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-04 11:01:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-04 11:01:35 +0100 |
| commit | 36b2009f89fdde05d2c9b8b44aa2bf8fe3b555cb (patch) | |
| tree | d5a448c369a6477ca186b264d993fa73b8e13581 /src/mono_picture_frame.cc | |
| parent | 5309c18b764f6f5f4adf8f89b917096d30b42a89 (diff) | |
More boost::filesystem jibber jabber.
Diffstat (limited to 'src/mono_picture_frame.cc')
| -rw-r--r-- | src/mono_picture_frame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mono_picture_frame.cc b/src/mono_picture_frame.cc index 474b0715..04f2efd7 100644 --- a/src/mono_picture_frame.cc +++ b/src/mono_picture_frame.cc @@ -38,10 +38,10 @@ using namespace libdcp; * @param mxf_path Path to the asset's MXF file. * @param n Frame within the asset, not taking EntryPoint into account. */ -MonoPictureFrame::MonoPictureFrame (string mxf_path, int n, ASDCP::AESDecContext* c) +MonoPictureFrame::MonoPictureFrame (boost::filesystem::path mxf_path, int n, ASDCP::AESDecContext* c) { ASDCP::JP2K::MXFReader reader; - if (ASDCP_FAILURE (reader.OpenRead (mxf_path.c_str()))) { + if (ASDCP_FAILURE (reader.OpenRead (mxf_path.string().c_str()))) { boost::throw_exception (FileError ("could not open MXF file for reading", mxf_path)); } |
