diff --git a/lib/video_decode_plugin.dart b/lib/video_decode_plugin.dart index 1fb9dc2..675a250 100644 --- a/lib/video_decode_plugin.dart +++ b/lib/video_decode_plugin.dart @@ -105,6 +105,7 @@ class VideoDecodePlugin { _textureId = null; _depManager.updateSps(null); _depManager.updatePps(null); + _depManager.reset(); return result ?? false; }