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
b3282523
Commit
b3282523
authored
Jul 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remoteosd: small simplification
parent
fc5b6ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/video_filter/remoteosd.c
modules/video_filter/remoteosd.c
+1
-3
No files found.
modules/video_filter/remoteosd.c
View file @
b3282523
...
@@ -615,13 +615,13 @@ static void* vnc_worker_thread( void *obj )
...
@@ -615,13 +615,13 @@ static void* vnc_worker_thread( void *obj )
}
}
/* connection is initialized, now read and handle server messages */
/* connection is initialized, now read and handle server messages */
vlc_restorecancel
(
canc
);
for
(
;;
)
for
(
;;
)
{
{
rfbServerToClientMsg
msg
;
rfbServerToClientMsg
msg
;
int
i_msgSize
;
int
i_msgSize
;
memset
(
&
msg
,
0
,
sizeof
(
msg
)
);
memset
(
&
msg
,
0
,
sizeof
(
msg
)
);
vlc_restorecancel
(
canc
);
if
(
!
read_exact
(
p_filter
,
fd
,
&
msg
,
1
)
)
if
(
!
read_exact
(
p_filter
,
fd
,
&
msg
,
1
)
)
{
{
...
@@ -666,9 +666,7 @@ static void* vnc_worker_thread( void *obj )
...
@@ -666,9 +666,7 @@ static void* vnc_worker_thread( void *obj )
canc
=
vlc_savecancel
();
canc
=
vlc_savecancel
();
process_server_message
(
p_filter
,
&
msg
);
process_server_message
(
p_filter
,
&
msg
);
vlc_restorecancel
(
canc
);
}
}
canc
=
vlc_savecancel
();
if
(
polling
)
if
(
polling
)
{
{
...
...
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