summaryrefslogtreecommitdiff
path: root/src/asset_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-15 22:14:04 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-15 22:15:13 +0100
commita6070a8af446620ab16ad172b94041601c95700d (patch)
treeed35b7b2e3a4568497fd1bedfc2a19e43ffb887b /src/asset_writer.h
parentda2c6b70a34e68e4e6f4c680f1465bfb845ba47d (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.h2
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;
};