diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-18 20:25:02 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-18 20:25:02 +0000 |
| commit | 2489080f9a5d2891da0fc313b2c0ac1450a630ad (patch) | |
| tree | 2f4fe733439db89943eb208713f034eb7df12b65 /src/mxf_asset.h | |
| parent | c289685296d58228df0a88354e966105b242c915 (diff) | |
Allow incremental writing of picture MXFs.
Diffstat (limited to 'src/mxf_asset.h')
| -rw-r--r-- | src/mxf_asset.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mxf_asset.h b/src/mxf_asset.h index 95261353..fd786cc6 100644 --- a/src/mxf_asset.h +++ b/src/mxf_asset.h @@ -45,12 +45,21 @@ public: virtual bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, std::list<std::string>& notes) const; int intrinsic_duration () const; + int frames_per_second () const { + return _fps; + } + + void set_intrinsic_duration (int d) { + _intrinsic_duration = d; + } -protected: /** Fill in a ADSCP::WriteInfo struct. * @param w struct to fill in. + * @param uuid uuid to use. */ - void fill_writer_info (ASDCP::WriterInfo* w) const; + static void fill_writer_info (ASDCP::WriterInfo* w, std::string uuid); + +protected: /** Signal to emit to report progress */ boost::signals2::signal<void (float)>* _progress; |
