| 303 | } |
| 304 | |
| 305 | void VideoBackendPlayer::InitVideoFrame() |
| 306 | { |
| 307 | if (!GPUDevice::Instance) |
| 308 | return; |
| 309 | if (!Frame) |
| 310 | Frame = GPUDevice::Instance->CreateTexture(TEXT("VideoFrame")); |
| 311 | } |
| 312 | |
| 313 | void VideoBackendPlayer::UpdateVideoFrame(Span<byte> data, TimeSpan time, TimeSpan duration) |
| 314 | { |