summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AS_02_IAB.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/AS_02_IAB.cpp b/src/AS_02_IAB.cpp
index aa551d9..732ef08 100644
--- a/src/AS_02_IAB.cpp
+++ b/src/AS_02_IAB.cpp
@@ -271,6 +271,11 @@ AS_02::IAB::MXFWriter::Finalize() {
if (this->m_State == ST_BEGIN) {
return Kumu::RESULT_INIT;
}
+ if (this->m_State != ST_RUNNING)
+ {
+ return RESULT_STATE;
+ }
+
Result_t result = RESULT_OK;