summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-05 00:05:32 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-05 14:36:27 +0100
commitfe99eae4b95c5fcf2f3730efad4a18d0cb5c29bc (patch)
tree265ca14896f63eeff210d602c5f11ed19d800ebf /src/mono_picture_frame.cc
parent7b717db244554300ebed8eade8421ee3faa28d33 (diff)
MXF -> Asset in lots of places.
Diffstat (limited to 'src/mono_picture_frame.cc')
-rw-r--r--src/mono_picture_frame.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mono_picture_frame.cc b/src/mono_picture_frame.cc
index 689a8b21..1237fd90 100644
--- a/src/mono_picture_frame.cc
+++ b/src/mono_picture_frame.cc
@@ -56,16 +56,16 @@ MonoPictureFrame::MonoPictureFrame (boost::filesystem::path path)
}
/** Make a picture frame from a 2D (monoscopic) asset.
- * @param mxf_path Path to the asset's MXF file.
+ * @param path Path to the asset's MXF file.
* @param n Frame within the asset, not taking EntryPoint into account.
* @param c Context for decryption, or 0.
*/
-MonoPictureFrame::MonoPictureFrame (boost::filesystem::path mxf_path, int n, ASDCP::AESDecContext* c)
+MonoPictureFrame::MonoPictureFrame (boost::filesystem::path path, int n, ASDCP::AESDecContext* c)
{
ASDCP::JP2K::MXFReader reader;
- Kumu::Result_t r = reader.OpenRead (mxf_path.string().c_str());
+ Kumu::Result_t r = reader.OpenRead (path.string().c_str());
if (ASDCP_FAILURE (r)) {
- boost::throw_exception (FileError ("could not open MXF file for reading", mxf_path, r));
+ boost::throw_exception (FileError ("could not open MXF file for reading", path, r));
}
/* XXX: unfortunate guesswork on this buffer size */