Skip to content

Conversation

@DomSyna
Copy link
Contributor

@DomSyna DomSyna commented Jan 21, 2026

When actioning trick modes there is no point in moving to FFWD when currently playing at the live edge. If we do this causes issues on some platforms when we attempt to perform a gstreamer seek and gstreamer is not in the correct state to receive the command.

The change fixes the logic in SetRateInternal() to prevent FFWD rate changes when at the live edge

@DomSyna DomSyna marked this pull request as ready for review January 21, 2026 10:38
@DomSyna DomSyna requested a review from a team as a code owner January 21, 2026 10:38
Copilot AI review requested due to automatic review settings January 21, 2026 10:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to prevent AAMP from attempting fast-forward (FFWD) operations when playback is already at the live edge, which was causing GStreamer state-related issues on some platforms. The fix modifies the logic in SetRateInternal() to add an early-exit check for this condition.

Changes:

  • Simplified the live point check condition to prevent rate changes >= 1.0 when at live edge
  • Added a no-op call to IsStreamerAtLivePoint() (line 750) with unclear intent
  • Removed blank line for minor formatting cleanup

Use static_cast for IsStreamerAtLivePoint call
Copilot AI review requested due to automatic review settings January 21, 2026 12:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Updated comment to clarify the condition for clearing the flag.
Copilot AI review requested due to automatic review settings January 21, 2026 12:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copy link

@dnfaulkner dnfaulkner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a biggy and does not need to be addressed. Just thought I'd comment ;)

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #885, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #886, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #888, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #889, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #890, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #891, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Copilot AI and others added 4 commits January 21, 2026 15:55
Fix mock delegation for IsLiveStream and IsAtLivePoint in FakePrivateInstanceAAMP
Fix Doxygen parameter formatting in SetIsAtLivePoint documentation
Copy link
Contributor

Copilot AI commented Jan 21, 2026

@DomSyna I've opened a new pull request, #892, to work on those changes. Once the pull request is ready, I'll request review from you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants