| 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 | { |