diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-15 22:14:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-15 22:15:13 +0100 |
| commit | a6070a8af446620ab16ad172b94041601c95700d (patch) | |
| tree | ed35b7b2e3a4568497fd1bedfc2a19e43ffb887b /src/asset_writer.h | |
| parent | da2c6b70a34e68e4e6f4c680f1465bfb845ba47d (diff) | |
Move _started from PictureAssetWriter into AssetWriter
and don't start the SoundAssetWriter until the first
thing is written to it.
Diffstat (limited to 'src/asset_writer.h')
| -rw-r--r-- | src/asset_writer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asset_writer.h b/src/asset_writer.h index 31d2f7ae..66d7396f 100644 --- a/src/asset_writer.h +++ b/src/asset_writer.h @@ -59,6 +59,8 @@ protected: int64_t _frames_written; /** true if finalize() has been called on this object */ bool _finalized; + /** true if something has been written to this asset */ + bool _started; ASDCP::AESEncContext* _encryption_context; }; |
