summaryrefslogtreecommitdiff
path: root/src/picture_asset_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-25 20:41:45 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-25 20:41:45 +0100
commitf76647abae551840a43bb8f07189051ec20bab6d (patch)
tree12d67e33c71516480cb71381bc426dfe18513821 /src/picture_asset_writer.h
parente8530ea06f0b0883e5e19dd18beed70732ac5d3c (diff)
Switch away from the many-constructor-arguments approach to a hopefully simpler API.
Diffstat (limited to 'src/picture_asset_writer.h')
-rw-r--r--src/picture_asset_writer.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/picture_asset_writer.h b/src/picture_asset_writer.h
index b6d2e92c..fd4f81ee 100644
--- a/src/picture_asset_writer.h
+++ b/src/picture_asset_writer.h
@@ -58,7 +58,7 @@ protected:
template <class P, class Q>
friend void start (PictureAssetWriter *, boost::shared_ptr<P>, Q *, uint8_t *, int);
- PictureAssetWriter (PictureAsset *, bool, bool, MXFMetadata const &);
+ PictureAssetWriter (PictureAsset *, bool);
PictureAsset* _asset;
@@ -71,8 +71,6 @@ protected:
/** true if finalize() has been called */
bool _finalized;
bool _overwrite;
- bool _interop;
- MXFMetadata _metadata;
};
/** A helper class for writing to MonoPictureAssets progressively (i.e. writing frame-by-frame,
@@ -95,7 +93,7 @@ public:
private:
friend class MonoPictureAsset;
- MonoPictureAssetWriter (PictureAsset *, bool, bool, MXFMetadata const &);
+ MonoPictureAssetWriter (PictureAsset *, bool);
void start (uint8_t *, int);
/* do this with an opaque pointer so we don't have to include
@@ -126,7 +124,7 @@ public:
private:
friend class StereoPictureAsset;
- StereoPictureAssetWriter (PictureAsset *, bool, bool, MXFMetadata const &);
+ StereoPictureAssetWriter (PictureAsset *, bool);
void start (uint8_t *, int);
/* do this with an opaque pointer so we don't have to include