We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug ffmpeg 结束录制时有 data race
To Reproduce code和报错日志见附件
替换 u 为可以录制的直播流 go build main.go -race
Expected behavior 没有数据竞争
Additional context Add any other context about the problem here. test2.zip
The text was updated successfully, but these errors were encountered:
暂时没想到啥避免的好方法,确实需要在两个协程内访问cmd对象也没法直接加锁
Sorry, something went wrong.
fix hr3lxphr6j#204
814db6a
No branches or pull requests
Describe the bug
ffmpeg 结束录制时有 data race
To Reproduce
code和报错日志见附件
替换 u 为可以录制的直播流
go build main.go -race
Expected behavior
没有数据竞争
Additional context
Add any other context about the problem here.
test2.zip
The text was updated successfully, but these errors were encountered: