Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
97e5286b
Commit
97e5286b
authored
Aug 16, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better lock during I/O than crash
parent
867a8159
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/stream_output/sap.c
src/stream_output/sap.c
+3
-4
No files found.
src/stream_output/sap.c
View file @
97e5286b
...
...
@@ -197,6 +197,8 @@ static void * RunThread( vlc_object_t *p_this)
{
int
i
;
msleep
(
SAP_IDLE
);
/* If needed, get the rate info */
if
(
p_sap
->
b_control
==
true
)
{
...
...
@@ -222,11 +224,9 @@ static void * RunThread( vlc_object_t *p_this)
else
{
vlc_object_unlock
(
p_sap
);
msleep
(
SAP_IDLE
);
continue
;
}
p_session
=
p_sap
->
pp_sessions
[
p_sap
->
i_current_session
];
vlc_object_unlock
(
p_sap
);
/* And announce it */
if
(
p_session
->
p_address
->
b_enabled
==
true
&&
...
...
@@ -234,8 +234,7 @@ static void * RunThread( vlc_object_t *p_this)
{
announce_SendSAPAnnounce
(
p_sap
,
p_session
);
}
msleep
(
SAP_IDLE
);
vlc_object_unlock
(
p_sap
);
}
return
NULL
;
}
...
...
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