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

Predictive tuning: Fix crash when starting playback #654

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Mar 2, 2024

Predictive tuning: Fix crash when starting playback of a channel which has no unique channel number

Tvh does not prevent duplicate channel numbers. This led to not all channels being added to channel tuning predictors channel set m_channel. When a channel not in predictor's channel set was tuned, this led to deref of m_channels.cend() here: https://github.com/kodi-pvr/pvr.hts/blob/Omega/src/tvheadend/ChannelTuningPredictor.cpp#L62

…h has no unique channel number (tvh does not prevent duplicate channel numbers).
@ksooo ksooo added the Fix label Mar 2, 2024
@ksooo ksooo merged commit 0effdb6 into kodi-pvr:Omega Mar 3, 2024
8 checks passed
@ksooo ksooo deleted the fix-predictive-tuning branch March 3, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant