Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c1a70282
Commit
c1a70282
authored
Mar 26, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Old RC: fix exit
parent
4e638048
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/control/rc.c
modules/control/rc.c
+7
-0
No files found.
modules/control/rc.c
View file @
c1a70282
...
...
@@ -361,6 +361,7 @@ static void Deactivate( vlc_object_t *p_this )
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_this
;
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
vlc_cancel
(
p_sys
->
thread
);
var_DelCallback
(
p_sys
->
p_playlist
,
"volume"
,
VolumeChanged
,
p_intf
);
vlc_join
(
p_sys
->
thread
,
NULL
);
...
...
@@ -469,6 +470,7 @@ static void *Run( void *data )
int
i_size
=
0
;
int
i_oldpos
=
0
;
int
i_newpos
;
int
canc
=
vlc_savecancel
(
);
p_buffer
[
0
]
=
0
;
...
...
@@ -492,6 +494,8 @@ static void *Run( void *data )
char
*
psz_cmd
,
*
psz_arg
;
bool
b_complete
;
vlc_restorecancel
(
canc
);
if
(
p_sys
->
pi_socket_listen
!=
NULL
&&
p_sys
->
i_socket
==
-
1
)
{
p_sys
->
i_socket
=
...
...
@@ -500,6 +504,7 @@ static void *Run( void *data )
}
b_complete
=
ReadCommand
(
p_intf
,
p_buffer
,
&
i_size
);
canc
=
vlc_savecancel
(
);
/* Manage the input part */
if
(
p_sys
->
p_input
==
NULL
)
...
...
@@ -798,6 +803,8 @@ static void *Run( void *data )
msg_rc
(
STATUS_CHANGE
"( stop state: 0 )"
);
msg_rc
(
STATUS_CHANGE
"( quit )"
);
vlc_restorecancel
(
canc
);
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