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

[fix] fixed multi sequence headers bugs in gop cache. #262

Merged
merged 3 commits into from
Mar 8, 2024
Merged

Conversation

winshining
Copy link
Owner

SPS & PPS may change during the lifetime of a stream.
Inspired by #261.

@winshining winshining self-assigned this Mar 3, 2024
meta_version = gctx->meta_version;
if (cache->meta) {
if (meta_version != cache->meta_version) {
meta = handler->meta_message_pt(s, cache->meta);
Copy link

Choose a reason for hiding this comment

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

merge two if into one
if (cache->meta && meta_version != cache->meta_version)

Copy link
Owner Author

Choose a reason for hiding this comment

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

OK, thank you!

@winshining winshining merged commit 97d51bf into master Mar 8, 2024
1 check passed
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