return bResult;
}
-void KaxBlockBlob::SetParent(KaxCluster & parent_clust)
+void KaxBlockBlob::SetParent(KaxCluster & aParentCluster)
{
- ParentCluster = &parent_clust;
+ ParentCluster = &aParentCluster;
}
void KaxBlockBlob::SetBlockDuration(uint64 TimeLength)
return int16(TimecodeDelay);
}
-uint64 KaxCluster::GetBlockGlobalTimecode(int16 GlobalSavedTimecode)
+uint64 KaxCluster::GetBlockGlobalTimecode(int16 LocalTimecode)
{
if (!bFirstFrameInside) {
KaxClusterTimecode * Timecode = static_cast<KaxClusterTimecode *>(this->FindElt(EBML_INFO(KaxClusterTimecode)));
bFirstFrameInside = true;
bPreviousTimecodeIsSet = true;
}
- return int64(GlobalSavedTimecode * GlobalTimecodeScale()) + GlobalTimecode();
+ return int64(LocalTimecode * GlobalTimecodeScale()) + GlobalTimecode();
}
KaxBlockGroup & KaxCluster::GetNewBlock()
#endif /* OLD */
}
-bool KaxCuePoint::IsSmallerThan(const EbmlElement * EltB) const
+bool KaxCuePoint::IsSmallerThan(const EbmlElement * Cmp) const
{
assert(EbmlId(*this) == EBML_ID(KaxCuePoint));
- assert(EbmlId(*EltB) == EBML_ID(KaxCuePoint));
+ assert(EbmlId(*Cmp) == EBML_ID(KaxCuePoint));
- const KaxCuePoint & theEltB = *static_cast<const KaxCuePoint *>(EltB);
+ const KaxCuePoint & theCmp = *static_cast<const KaxCuePoint *>(Cmp);
// compare timecode
const KaxCueTime * TimeCodeA = static_cast<const KaxCueTime *>(FindElt(EBML_INFO(KaxCueTime)));
if (TimeCodeA == NULL)
return false;
- const KaxCueTime * TimeCodeB = static_cast<const KaxCueTime *>(theEltB.FindElt(EBML_INFO(KaxCueTime)));
+ const KaxCueTime * TimeCodeB = static_cast<const KaxCueTime *>(theCmp.FindElt(EBML_INFO(KaxCueTime)));
if (TimeCodeB == NULL)
return false;
if (TrackA == NULL)
return false;
- const KaxCueTrack * TrackB = static_cast<const KaxCueTrack *>(theEltB.FindElt(EBML_INFO(KaxCueTrack)));
+ const KaxCueTrack * TrackB = static_cast<const KaxCueTrack *>(theCmp.FindElt(EBML_INFO(KaxCueTrack)));
if (TrackB == NULL)
return false;