diff options
Diffstat (limited to 'src/sound_frame.cc')
| -rw-r--r-- | src/sound_frame.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sound_frame.cc b/src/sound_frame.cc index 6471ee0a..da0da194 100644 --- a/src/sound_frame.cc +++ b/src/sound_frame.cc @@ -17,6 +17,10 @@ */ +/** @file src/sound_frame.cc + * @brief SoundFrame class. + */ + #include "sound_frame.h" #include "exceptions.h" #include "AS_DCP.h" @@ -25,10 +29,10 @@ using namespace std; using namespace dcp; -SoundFrame::SoundFrame (string mxf_path, int n, ASDCP::AESDecContext* c) +SoundFrame::SoundFrame (boost::filesystem::path mxf_path, int n, ASDCP::AESDecContext* c) { ASDCP::PCM::MXFReader reader; - Kumu::Result_t r = reader.OpenRead (mxf_path.c_str()); + Kumu::Result_t r = reader.OpenRead (mxf_path.file().c_str()); if (ASDCP_FAILURE (r)) { boost::throw_exception (FileError ("could not open MXF file for reading", mxf_path, r)); } |
