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

ApplicationPlayer: Sanitize ClosePlayer() and SetPlaySpeed() #3200

Merged
merged 1 commit into from Sep 6, 2013

Conversation

herrnst
Copy link
Member

@herrnst herrnst commented Sep 5, 2013

After merging #2896, there was a 4/5 chance for a deadlock in CApplicationPlayer::GetInternal() when stopping video playback if a Python addon constantly polled the HasVideo bools.

When sanitizing SetPlaySpeed() and most importantly ClosePlayer() to also use the shared lock, the problem is gone.

Thanks to @t-nelson for the right hints and pointers to get this fixed!

@Voyager1
Copy link

Voyager1 commented Sep 6, 2013

looks good to me.

fritsch added a commit that referenced this pull request Sep 6, 2013
ApplicationPlayer: Sanitize ClosePlayer() and SetPlaySpeed()
@fritsch fritsch merged commit 421a4e8 into xbmc:master Sep 6, 2013
@davilla
Copy link
Contributor

davilla commented Sep 10, 2013

sweet

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.

None yet

4 participants