Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid triggering DCHECK() on playback end #4620

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

xiaomings
Copy link
Contributor

Calling DecoderBuffer::timestamp() on end of stream buffers triggers DCHECK(). Now EOS buffers are explicitly checked for before calling timestamp() in StarboardRenderer::OnDemuxerStreamRead(), to avoid a DCHECK() triggered in Devel build when playback finishes.

b/326652276

Calling DecoderBuffer::timestamp() on end of stream buffers triggers
DCHECK().  Now EOS buffers are explicitly checked for before calling
timestamp() in StarboardRenderer::OnDemuxerStreamRead(), to avoid a
DCHECK() triggered in Devel mode when playback finishes.

b/326652276
@xiaomings xiaomings enabled auto-merge (squash) December 20, 2024 01:17
@xiaomings xiaomings merged commit 4cc5341 into youtube:main Dec 20, 2024
70 of 71 checks passed
@xiaomings xiaomings deleted the audio_write_duration branch December 23, 2024 17:57
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.

2 participants