|
@@ -124,7 +124,7 @@ class ImageDataPlayerController extends GetxController {
|
|
|
bool onFrameChangeEvent(int frame) {
|
|
|
if (playerController != null) {
|
|
|
final bufferedFrameCount = (_bufferedPercent * _totalFrames).toInt();
|
|
|
- if (bufferedFrameCount > frame) {
|
|
|
+ if (bufferedFrameCount >= frame) {
|
|
|
playerController!.pause();
|
|
|
playerController!.gotoFrame(frame);
|
|
|
return true;
|