lib/matroska/src/KaxCluster.cpp
uint64 KaxCluster::GlobalTimecode() const
{
  assert(bPreviousTimecodeIsSet);
  uint64 result = MinTimecode;

  if (result < PreviousTimecode)
    result = PreviousTimecode + 1;

  return result;
}
/*!
  \todo automatically choose valid timecode for the Cluster based on the previous cluster timecode (must be incremental)
*/
\todo automatically choose valid timecode for the Cluster based on the previous cluster timecode (must be incremental)
\ todo automatically choose valid timecode for the Cluster based on the previous cluster timecode ( must be incremental )
uint64 KaxCluster::GlobalTimecode() const
{
  assert(bPreviousTimecodeIsSet);
  uint64 result = MinTimecode;
  if (result < PreviousTimecode)
    result = PreviousTimecode + 1;
  return result;
}
uint64 KaxCluster :: GlobalTimecode ( ) const { assert ( bPreviousTimecodeIsSet ) ; uint64 result = MinTimecode ; if ( result < PreviousTimecode ) result = PreviousTimecode + 1 ; return result ; }
\todo automatically choose valid timecode for the Cluster based on the previous cluster timecode (must be incremental)
\ todo automatically choose valid timecode for the Cluster based on the previous cluster timecode ( must be incremental )