summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-31 00:23:59 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-31 00:23:59 +0100
commitfe3476307bead95b72efc7d47a2ce3da31c35d88 (patch)
treeed5ad2faed0b556be9936920f4b17fd0d100b6bb /src/asset.h
parentb3ae1623ed44ade680236b4af283543083bceea3 (diff)
path -> dir, name for MXFs.
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/asset.h b/src/asset.h
index b0cc450c..62b7b4ac 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -42,12 +42,13 @@ class Asset
{
public:
/** Construct an Asset.
- * @param mxf_path Pathname of MXF file.
+ * @param directory Directory where MXF file is.
+ * @param mxf_name Name of MXF file.
* @param progress Signal to inform of progress.
* @param fps Frames per second.
* @param length Length in frames.
*/
- Asset (std::string mxf_path, sigc::signal1<void, float>* progress, int fps, int length);
+ Asset (std::string directory, std::string mxf_path, sigc::signal1<void, float>* progress, int fps, int length);
/** Write details of the asset to a CPL stream.
* @param s Stream.
@@ -70,8 +71,12 @@ protected:
*/
void fill_writer_info (ASDCP::WriterInfo* w) const;
- /** Path to our MXF file */
- std::string _mxf_path;
+ boost::filesystem::path mxf_path () const;
+
+ /** Directory that our MXF file is in */
+ std::string _directory;
+ /** Name of our MXF file */
+ std::string _mxf_name;
/** Signal to emit to report progress */
sigc::signal1<void, float>* _progress;
/** Frames per second */