MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / IsBackgroundPlaybackQueued

Method IsBackgroundPlaybackQueued

TombEngine/Specific/Video/Video.cpp:158–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 }
157
158 bool VideoHandler::IsBackgroundPlaybackQueued() const
159 {
160 if (_player == nullptr || _playbackMode != VideoPlaybackMode::Exclusive)
161 return false;
162
163 // Using VLC player state is unsafe, because it runs in parallel, so we always return true.
164 return true;
165 }
166
167 void VideoHandler::Initialize(const std::string& gameDir, ID3D11Device* device, ID3D11DeviceContext* context)
168 {

Callers 1

DoGameLoopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected