Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
124
Issues
124
List
Boards
Labels
Milestones
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
83bcd8fb
Commit
83bcd8fb
authored
Sep 13, 2018
by
Adrien Béraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sipvoiplink: fix keyframe request lock
Change-Id: I514943409a319b3d7749d05e6a3ff41c4f598c24
parent
5c5f9ed5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sip/sipvoiplink.cpp
src/sip/sipvoiplink.cpp
+1
-1
No files found.
src/sip/sipvoiplink.cpp
View file @
83bcd8fb
...
...
@@ -747,10 +747,10 @@ SIPVoIPLink::enqueueKeyframeRequest(const std::string &id)
void
SIPVoIPLink
::
dequeKeyframeRequests
()
{
std
::
lock_guard
<
std
::
mutex
>
lock
(
keyframeRequestsMutex_
);
int
max_requests
=
20
;
while
(
not
keyframeRequests_
.
empty
()
and
max_requests
--
)
{
std
::
lock_guard
<
std
::
mutex
>
lock
(
keyframeRequestsMutex_
);
const
std
::
string
&
id
(
keyframeRequests_
.
front
());
requestKeyframe
(
id
);
keyframeRequests_
.
pop
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment