summaryrefslogtreecommitdiff
path: root/src/asset_writer.cc
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.cc
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.cc')
-rw-r--r--src/asset_writer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/asset_writer.cc b/src/asset_writer.cc
index 4611b38a..db2d4c53 100644
--- a/src/asset_writer.cc
+++ b/src/asset_writer.cc
@@ -38,6 +38,7 @@ AssetWriter::AssetWriter (MXF* mxf, boost::filesystem::path file)
, _file (file)
, _frames_written (0)
, _finalized (false)
+ , _started (false)
, _encryption_context (0)
{
if (mxf->key ()) {