From cda67f32d88b0b8cb424f1c3baedb02575449e1d Mon Sep 17 00:00:00 2001 From: William Candillon Date: Fri, 28 Jun 2024 10:36:25 +0200 Subject: [PATCH] =?UTF-8?q?fix(=F0=9F=90=9B):=20fix=20black=20screen=20whe?= =?UTF-8?q?n=20pausing=20on=20Android=20(#2510)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/src/external/reanimated/useVideo.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/src/external/reanimated/useVideo.ts b/package/src/external/reanimated/useVideo.ts index 9ec1f29084..a5b31b78b9 100644 --- a/package/src/external/reanimated/useVideo.ts +++ b/package/src/external/reanimated/useVideo.ts @@ -36,7 +36,6 @@ const setFrame = (video: Video, currentFrame: SharedValue) => { currentFrame.value.dispose(); } currentFrame.value = img; - } else { copyFrameOnAndroid(currentFrame); } }; @@ -99,7 +98,6 @@ export const useVideo = ( () => seek.value, (value) => { if (value !== null) { - copyFrameOnAndroid(currentFrame); video?.seek(value); currentTime.value = value; seek.value = null;