You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
releaseScrubPreviewDecoders() does not close the software-playback still decoder #1153
releaseScrubPreviewDecoders() does not close the still decoder that software playback uses for packet-cache scrub stills. That decoder stays open until playback stops.
Version
AetherEngine 7.77.0
Details
AetherEngine+ScrubThumbnail.swift: releaseScrubPreviewDecoders() only iterates scrubThumbnailExtractors and calls releaseDecoder() on each.
Native/SoftwarePlaybackHost.swift: the first scrub-still request served from the packet cache creates a SoftwareStillExtractor held in stillExtractorSlot (around line 2822). It is only released in stop() (around line 3063).
So after a single hover during software playback (for example remote VOD or live), the software still decoder remains open for the rest of the session, even when the host calls releaseScrubPreviewDecoders() after scrubbing ends.
Why it matters
We serve scrub previews from the playback packet cache on serial origins (SMB/SFTP behind a local relay, maxConcurrentSourceRequests = 1), because that path needs no extra reads. We would like to close all preview decoders a few seconds after the last scrub request, without stopping playback. Today we have to keep this one decoder open until playback stops.
Request
Could releaseScrubPreviewDecoders() (or a separate API) also close the SoftwareStillExtractor held by SoftwarePlaybackHost while playback continues, and let the next scrub request recreate it?
Activity