bad assert test when writing GS partition
unset frame count in ISXD unwrap
bad UL when writing ISXF content packages
return RESULT_STATE;
}
- memcpy(m_EssenceUL, m_Dict->ul(MDD_FrameWrappedISXDContainer), SMPTE_UL_LENGTH);
+ memcpy(m_EssenceUL, m_Dict->ul(MDD_FrameWrappedISXDData), SMPTE_UL_LENGTH);
m_EssenceUL[SMPTE_UL_LENGTH-1] = 1; // first (and only) essence container
Result_t result = m_State.Goto_READY();
if ( ASDCP_SUCCESS(result) )
{
result = FrameBuffer.Capacity(Options.fb_size);
+ frame_count = Reader.AS02IndexReader().GetDuration();
}
if ( ASDCP_SUCCESS(result) )
}
}
- assert(max_sid>1);
+ if ( max_sid == 0 )
+ {
+ DefaultLogSink().Error("Unable to add a GS Partition before the essence container has been established.\n");
+ return RESULT_FORMAT;
+ }
+
rip.PairArray.push_back(RIP::PartitionPair(max_sid + 1, file_writer.Tell()));
// Add new GSTBS linked to DMF