From 82bd8563669f9d9082aaab4ff751b73954ee3549 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 28 Jun 2024 22:44:21 +0200 Subject: [PATCH] (Windows) Fixed an issue where video textures were sometimes not aligned correctly --- es-core/src/components/VideoFFmpegComponent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-core/src/components/VideoFFmpegComponent.cpp b/es-core/src/components/VideoFFmpegComponent.cpp index 5ec94bd4b..e7aa458c6 100644 --- a/es-core/src/components/VideoFFmpegComponent.cpp +++ b/es-core/src/components/VideoFFmpegComponent.cpp @@ -1421,7 +1421,8 @@ void VideoFFmpegComponent::startVideoStream() mFrameProcessingThread = nullptr; mVideoWidth = 0; mVideoHeight = 0; - mAccumulatedTime = 0; + mLinePaddingComp = 0.0f; + mAccumulatedTime = 0.0; mStartTimeAccumulation = false; mSWDecoder = true; mDecodedFrame = false;