device: enable fast channel switch - #282
Merged
Merged
Conversation
rellla
force-pushed
the
fast-channel-switch
branch
from
August 24, 2026 11:17
0e63274 to
a32c4e1
Compare
rellla
force-pushed
the
fast-channel-switch
branch
5 times, most recently
from
August 25, 2026 07:16
ea67f5e to
9f6ca76
Compare
Up to now, playback (both, audio and video) started at the moment, when they are in sync and all buffers are filled enough. This commit introduces two options: 1) video: Immediately present the very first video frame as a stillpicture as soon as the decoder releases it. Start audio and video playback together, as soon as audio and video are in sync. This version drops all audio data which is older than the video PTS, which is waiting for audio to come up. 2) video + audio: Same as 1), but also start audio playback as soon as the audio buffer is filled enough. Video starts at the time, when then audio PTS reaches the "parked" video PTS. This version is a bit slower with the sync than "video", because we play all audio data and don't drop it.
rellla
force-pushed
the
fast-channel-switch
branch
from
August 25, 2026 07:17
9f6ca76 to
778d81e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If enabled, the first frame which was released from the decoder is displayed without respect to any AV-Sync. This is frame is displayed as a stillpicture until AV-Sync is possible.
This feature is configurable in the setup menu.
A next step could be to start the audio playback as soon as audio arrives.