diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-17 20:16:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-17 20:16:10 +0000 |
| commit | 828c320df8c56208a8834971f5d937ce06a4edf2 (patch) | |
| tree | b9af6538e97ed5d4b845173ec500aa250b8c894e /src/picture_asset.cc | |
| parent | 369ba52fe8b3ddeda734692541471c402016a18d (diff) | |
Pull entry point out of the constructor.
Diffstat (limited to 'src/picture_asset.cc')
| -rw-r--r-- | src/picture_asset.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/picture_asset.cc b/src/picture_asset.cc index 72c99bc6..e5d88a6e 100644 --- a/src/picture_asset.cc +++ b/src/picture_asset.cc @@ -46,8 +46,8 @@ using boost::dynamic_pointer_cast; using boost::lexical_cast; using namespace libdcp; -PictureAsset::PictureAsset (string directory, string mxf_name, boost::signals2::signal<void (float)>* progress, int fps, int entry_point, int length) - : MXFAsset (directory, mxf_name, progress, fps, entry_point, length) +PictureAsset::PictureAsset (string directory, string mxf_name, boost::signals2::signal<void (float)>* progress, int fps, int length) + : MXFAsset (directory, mxf_name, progress, fps, length) { } @@ -136,7 +136,7 @@ MonoPictureAsset::MonoPictureAsset ( int fps, int length, Size size) - : PictureAsset (directory, mxf_name, progress, fps, 0, length) + : PictureAsset (directory, mxf_name, progress, fps, length) { _size = size; construct (get_path); @@ -150,14 +150,14 @@ MonoPictureAsset::MonoPictureAsset ( int fps, int length, Size size) - : PictureAsset (directory, mxf_name, progress, fps, 0, length) + : PictureAsset (directory, mxf_name, progress, fps, length) { _size = size; construct (boost::bind (&MonoPictureAsset::path_from_list, this, _1, files)); } -MonoPictureAsset::MonoPictureAsset (string directory, string mxf_name, int fps, int entry_point, int length) - : PictureAsset (directory, mxf_name, 0, fps, entry_point, length) +MonoPictureAsset::MonoPictureAsset (string directory, string mxf_name, int fps, int length) + : PictureAsset (directory, mxf_name, 0, fps, length) { ASDCP::JP2K::MXFReader reader; if (ASDCP_FAILURE (reader.OpenRead (path().string().c_str()))) { @@ -356,8 +356,8 @@ PictureAsset::frame_buffer_equals ( } -StereoPictureAsset::StereoPictureAsset (string directory, string mxf_name, int fps, int entry_point, int length) - : PictureAsset (directory, mxf_name, 0, fps, entry_point, length) +StereoPictureAsset::StereoPictureAsset (string directory, string mxf_name, int fps, int length) + : PictureAsset (directory, mxf_name, 0, fps, length) { ASDCP::JP2K::MXFSReader reader; if (ASDCP_FAILURE (reader.OpenRead (path().string().c_str()))) { |
