Skip to content

Commit

Permalink
fix(🤖): imprecision in seek() (#2532)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrEuler committed Jul 25, 2024
1 parent edcf144 commit 76343ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/android/cpp/rnskia-android/RNSkAndroidVideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void RNSkAndroidVideo::seek(double timestamp) {
RNSkLogger::logToConsole("seek method not found");
return;
}
env->CallVoidMethod(_jniVideo.get(), mid, static_cast<jlong>(timestamp));
env->CallVoidMethod(_jniVideo.get(), mid, static_cast<jdouble>(timestamp));
}

float RNSkAndroidVideo::getRotationInDegrees() {
Expand Down

0 comments on commit 76343ce

Please sign in to comment.