Fix bug
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user