Skip to content

[video_player_avfoundation] Only updates every other seek on macOS #136027

@cbenhagen

Description

@cbenhagen

Is there an existing issue for this?

Steps to reproduce

  1. Run the example in video_player_avfoundation on macOS
  2. Seek using the bar at the bottom of the video

Expected results

Seek works smoothly booth when video is playing and paused.

Actual results

Seek works only every other time or sometimes not at all after first tries

Code sample

Code sample Use the example in video_player_avfoundation on macOS

Screenshots or Video

Screenshots / Video demonstration
Screen.Recording.2023-10-05.at.13.10.48.mov

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-arm64, locale en-US)
    • Flutter version 3.13.6 on channel stable at /Users/ben/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (8 days ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/ben/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • Java binary at: /Users/ben/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/ben/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
    • IntelliJ at /Users/ben/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.9559.10

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (4 available)
[redacted]

[✓] Network resources
    • All expected network resources are available.```

</details>

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: desktopRunning on desktopp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-macBuilding on or for macOS specificallyteam-macosOwned by the macOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions