Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
33522bc5
Commit
33522bc5
authored
Sep 26, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add logout function to RC interface
parent
82aad75f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/control/rc.c
modules/control/rc.c
+10
-0
No files found.
modules/control/rc.c
View file @
33522bc5
...
@@ -479,6 +479,15 @@ static void Run( intf_thread_t *p_intf )
...
@@ -479,6 +479,15 @@ static void Run( intf_thread_t *p_intf )
psz_cmd
,
i_ret
,
vlc_error
(
i_ret
)
);
psz_cmd
,
i_ret
,
vlc_error
(
i_ret
)
);
}
}
}
}
else
if
(
!
strcmp
(
psz_cmd
,
"logout"
)
)
{
/* Close connection */
if
(
p_intf
->
p_sys
->
i_socket
!=
-
1
)
{
net_Close
(
p_intf
->
p_sys
->
i_socket
);
}
p_intf
->
p_sys
->
i_socket
=
-
1
;
}
else
if
(
!
strcmp
(
psz_cmd
,
"info"
)
)
else
if
(
!
strcmp
(
psz_cmd
,
"info"
)
)
{
{
if
(
p_input
)
if
(
p_input
)
...
@@ -614,6 +623,7 @@ static void Run( intf_thread_t *p_intf )
...
@@ -614,6 +623,7 @@ static void Run( intf_thread_t *p_intf )
printf
(
_
(
"| achan [X]. . . . . . . . set/get audio channels
\n
"
));
printf
(
_
(
"| achan [X]. . . . . . . . set/get audio channels
\n
"
));
printf
(
"|
\n
"
);
printf
(
"|
\n
"
);
printf
(
_
(
"| help . . . . . . . . . . . . . this help message
\n
"
));
printf
(
_
(
"| help . . . . . . . . . . . . . this help message
\n
"
));
printf
(
_
(
"| logout . . . . . .exit (if in socket connection)
\n
"
));
printf
(
_
(
"| quit . . . . . . . . . . . . . . . . . quit vlc
\n
"
));
printf
(
_
(
"| quit . . . . . . . . . . . . . . . . . quit vlc
\n
"
));
printf
(
"|
\n
"
);
printf
(
"|
\n
"
);
printf
(
_
(
"+----[ end of help ]
\n
"
));
printf
(
_
(
"+----[ end of help ]
\n
"
));
...
...
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