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 GC stop handling #1950

Merged
merged 2 commits into from
Dec 14, 2021
Merged

Conversation

quink-black
Copy link
Contributor

  1. Protect m_bClosing by m_GCStopLock
  2. Fix the issue that m_GCStopLock can be setup multiple times and
    never be released. srt_startup()/srt_cleanup() meant to be called
    only once, but it doesn't be used this way in FFmpeg/VLC/GStreamer.

1. Protect m_bClosing by m_GCStopLock
2. Fix the issue that m_GCStopLock can be setup multiple times and
never be released. srt_startup()/srt_cleanup() meant to be called
only once, but it doesn't be used this way in FFmpeg/VLC/GStreamer.
@maxsharabayko maxsharabayko added [core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior labels May 11, 2021
@maxsharabayko maxsharabayko added this to the v1.4.4 milestone May 11, 2021
@maxsharabayko maxsharabayko self-requested a review May 11, 2021 14:43
@maxsharabayko maxsharabayko modified the milestones: v1.4.4, v1.4.5 Aug 18, 2021
@maxsharabayko maxsharabayko merged commit 3558cd0 into Haivision:master Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants