Skip to content

setRate while paused starts playback and leaves state at .paused #730

Closed

Description

@superuser404notfound

A host that changes speed while the session is paused (a speed picker, a keyboard step) gets playback resumed: `setRate(x)` with `x != 0` goes straight to the transport host, and on the native paths that is `avPlayer.rate = x`, which plays. `state` is not touched, so the engine keeps reporting `.paused` while the picture runs, and the host's play/pause button shows the wrong action.

Measured on macOS with AetherPlayer (native route, H.264 test clip): pause with Space, step the speed, two frames 1.5 s apart differ.

Expected: while paused, a speed is a speed, not a play press. Record it as the rate the next `play()` resumes at (`desiredRate` plus `setResumeRate` on the host, the #436 machinery that already exists for exactly this) and stay paused.

Raised by AetherPlayer#8.

Activity

  1. superuser404notfound commented on Oct 9, 2026

    @superuser404notfound
    OwnerAuthor

    Released in 7.33.2 (fdfd307). Both consumers are bumped (Sodalite 230703b7, AetherPlayer 3f82d4d).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions