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
3d11b0e1
Commit
3d11b0e1
authored
May 09, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oldrc: avoid vlc_object_kill()
parent
15a725ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/control/rc.c
modules/control/rc.c
+9
-9
No files found.
modules/control/rc.c
View file @
3d11b0e1
...
...
@@ -455,24 +455,24 @@ static void Run( intf_thread_t *p_intf )
p_buffer
[
0
]
=
0
;
/* Register commands that will be cleaned up upon object destruction */
p_intf
->
p_sys
->
p_playlist
=
p_playlist
;
RegisterCallbacks
(
p_intf
);
/* status callbacks */
/* Listen to audio volume updates */
var_AddCallback
(
p_playlist
,
"volume"
,
VolumeChanged
,
p_intf
);
#ifdef WIN32
/* Get the file descriptor of the console input */
p_intf
->
p_sys
->
hConsoleIn
=
GetStdHandle
(
STD_INPUT_HANDLE
);
if
(
p_intf
->
p_sys
->
hConsoleIn
==
INVALID_HANDLE_VALUE
)
{
msg_Err
(
p_intf
,
"couldn't find user input handle"
);
vlc_object_kill
(
p_intf
)
;
return
;
}
#endif
/* Register commands that will be cleaned up upon object destruction */
p_intf
->
p_sys
->
p_playlist
=
p_playlist
;
RegisterCallbacks
(
p_intf
);
/* status callbacks */
/* Listen to audio volume updates */
var_AddCallback
(
p_playlist
,
"volume"
,
VolumeChanged
,
p_intf
);
while
(
vlc_object_alive
(
p_intf
)
)
{
char
*
psz_cmd
,
*
psz_arg
;
...
...
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