mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Rename MxDSSubscriber functions (#573)
This commit is contained in:
committed by
GitHub
parent
332d8da695
commit
1d189b013d
@@ -50,7 +50,7 @@ void MxLoopingFlcPresenter::NextFrame()
|
||||
m_elapsedDuration += m_flcHeader->speed;
|
||||
}
|
||||
|
||||
m_subscriber->DestroyChunk(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b44c0
|
||||
|
||||
@@ -61,7 +61,7 @@ void MxLoopingSmkPresenter::NextFrame()
|
||||
m_elapsedDuration += 1000 / ((MxDSMediaAction*) m_action)->GetFramesPerSecond();
|
||||
}
|
||||
|
||||
m_subscriber->DestroyChunk(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b4a90
|
||||
|
||||
@@ -62,7 +62,7 @@ void MxStillPresenter::NextFrame()
|
||||
{
|
||||
MxStreamChunk* chunk = NextChunk();
|
||||
LoadFrame(chunk);
|
||||
m_subscriber->DestroyChunk(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b9dd0
|
||||
|
||||
@@ -178,12 +178,12 @@ void MxVideoPresenter::NextFrame()
|
||||
MxStreamChunk* chunk = NextChunk();
|
||||
|
||||
if (chunk->GetFlags() & MxDSChunk::c_end) {
|
||||
m_subscriber->DestroyChunk(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
ProgressTickleState(e_repeating);
|
||||
}
|
||||
else {
|
||||
LoadFrame(chunk);
|
||||
m_subscriber->DestroyChunk(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -408,7 +408,7 @@ void MxVideoPresenter::ReadyTickle()
|
||||
|
||||
if (chunk) {
|
||||
LoadHeader(chunk);
|
||||
m_subscriber->DestroyChunk(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
ParseExtra();
|
||||
ProgressTickleState(e_starting);
|
||||
}
|
||||
@@ -453,7 +453,7 @@ void MxVideoPresenter::StreamingTickle()
|
||||
}
|
||||
|
||||
LoadFrame(m_currentChunk);
|
||||
m_subscriber->DestroyChunk(m_currentChunk);
|
||||
m_subscriber->FreeDataChunk(m_currentChunk);
|
||||
m_currentChunk = NULL;
|
||||
SetBit0(TRUE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user