New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tvg_set_frame
API returns imprecise frame number in tvg_get_current_frame
after upgrade to v0.13.3
#2266
Comments
relative issue: #2147 |
hermet
added a commit
that referenced
this issue
May 13, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
hermet
added a commit
that referenced
this issue
May 13, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
hermet
added a commit
that referenced
this issue
May 13, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
hermet
added a commit
that referenced
this issue
May 13, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
@theashraf Hello, I expect this could help with your issue: #2270. But please keep in mind that basically thorvg will ignore those values below 0.6f decimal point, not guarantee the accurate data. |
hermet
added a commit
that referenced
this issue
May 13, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
hermet
added a commit
that referenced
this issue
May 14, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
hermet
added a commit
that referenced
this issue
May 14, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
hermet
added a commit
that referenced
this issue
May 17, 2024
Refined the logic for updating frame numbers to ensure greater accuracy in value precision. issue: #2266
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When upgrading thorvg from version v0.13.0 to v0.13.3 in dotLottie-rs, we encountered a failing test related to the tvg_set_frame API. When tvg_set_frame is called with a specific frame number and tvg_get_current_frame is subsequently called, the returned frame number occasionally differs slightly from what was originally set, causing the player to render a different frame than expected.
During the dotLottie player's event tests, we observed discrepancies between the frame number set by the user and the frame actually rendered. The mismatch is evident in the recorded events from the test case, shown below:
Recorded Events:
The text was updated successfully, but these errors were encountered: