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

Take listeners_lock for g_hash_table_foreach operations on listeners. #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattc1170
Copy link

Fix for #116

Need to take a lock when accessing listeners hash table because listeners can be removed by other threads. Must use a recursive mutex because the notify calls can then come back and call gst_inter_pipe_leave_node() or gst_inter_pipe_add_node() which results in a 2nd attempt to lock the listeners mutex in the same thread.

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.

2 participants