This commit is contained in:
2025-10-06 14:47:55 +09:00
parent 77b6246c67
commit b37cd1ded0
6 changed files with 118 additions and 35 deletions

View File

@@ -319,6 +319,11 @@ namespace winrt::Vav2Player::implementation
LogMgr::GetInstance().LogInfo(L"VideoPlayerControl2",
L"Video loaded: " + std::to_wstring(videoWidth) + L"x" + std::to_wstring(videoHeight));
// Prepare video texture before decoding (via FrameProcessor)
if (m_frameProcessor) {
m_frameProcessor->PrepareVideoTexture(videoWidth, videoHeight);
}
// Update AspectFit
UpdateVideoImageAspectFit(videoWidth, videoHeight);