Skip to content
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

fix: OPTIC-1677: Incorrect video frame rendered when pausing a video during playback #7078

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bmartel
Copy link
Contributor

@bmartel bmartel commented Feb 13, 2025

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

(check all that apply)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Describe the reason for change

When pausing playback of video, it does not currently land on a whole frame and is often de-synced from the frame boundary when the time it is paused on is too granular. Related: #7027

What does this fix?

Closes #7050

What is the new behavior?

When video pauses it will set currentTime to an adjusted time that will land directly on a whole frame.

What is the current behavior?

Pauses and leaves an exact currentTime.

What feature flags were used to cover this change?

  • fflag_fix_front_optic_1608_improve_video_frame_seek_precision_short

Does this PR introduce a breaking change?

(check only one)

  • Yes, and covered entirely by feature flag(s)
  • Yes, and covered partially by feature flag(s)
  • No
  • Not sure (briefly explain the situation below)

Which logical domain(s) does this change affect?

Video

@github-actions github-actions bot added the fix label Feb 13, 2025
Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 128e3bb
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/67ae77ca7cf3990008ff5e91

Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 128e3bb
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/67ae77cab64aed0008ff33dd

@bmartel bmartel changed the title fix: OPTIC-1677: Video frame is misaligned when pausing playback fix: OPTIC-1677: Incorrect video frame rendered when pausing a video during playback Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Video frame rendered when pausing a video during playback
1 participant