Skip to content

VPAAMP-294: Add L1 regression test CheckEncryptedHeaders_RetuneInSinglePipelineMode#1457

Open
pstroffolino wants to merge 1 commit into
dev_sprint_25_2from
feature/VPAAMP-294_l1_regression_test
Open

VPAAMP-294: Add L1 regression test CheckEncryptedHeaders_RetuneInSinglePipelineMode#1457
pstroffolino wants to merge 1 commit into
dev_sprint_25_2from
feature/VPAAMP-294_l1_regression_test

Conversation

@pstroffolino
Copy link
Copy Markdown
Contributor

Reason for Change: Exercise the retune scenario where DeactivatePlayer(stop=true) removes the player from mActiveGstPlayersMap but mGstPlayer is retained, then a second CreateStreamSink takes the reuse branch and does not re-insert the player into mActiveGstPlayersMap. The old VPAAMP-214 guard would have silently dropped SetEncryptedHeaders in this state. The VPAAMP-294 fix removes that guard; this test verifies the fix by asserting SetEncryptedAamp is called correctly on both the first tune and retune.

…lePipelineMode

Exercise the retune scenario where DeactivatePlayer(stop=true) removes the player
from mActiveGstPlayersMap but mGstPlayer is retained, then a second CreateStreamSink
takes the reuse branch and does not re-insert the player into mActiveGstPlayersMap.
The old VPAAMP-214 guard would have silently dropped SetEncryptedHeaders in this
state. The VPAAMP-294 fix removes that guard; this test verifies the fix by
asserting SetEncryptedAamp is called correctly on both the first tune and retune.
@pstroffolino pstroffolino requested a review from a team as a code owner May 16, 2026 01:24
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.

1 participant