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
66f6cb98
Commit
66f6cb98
authored
Aug 20, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Put vlc_usage in the same file than where it is used.
parent
cd2b2d91
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
2 deletions
+32
-2
src/libvlc.c
src/libvlc.c
+32
-0
src/libvlc.h
src/libvlc.h
+0
-2
No files found.
src/libvlc.c
View file @
66f6cb98
...
@@ -1315,6 +1315,38 @@ static inline void print_help_on_full_help( void )
...
@@ -1315,6 +1315,38 @@ static inline void print_help_on_full_help( void )
utf8_fprintf
(
stdout
,
"%s
\n
"
,
_
(
"To get exhaustive help, use '-H'."
)
);
utf8_fprintf
(
stdout
,
"%s
\n
"
,
_
(
"To get exhaustive help, use '-H'."
)
);
}
}
static
const
char
vlc_usage
[]
=
N_
(
"Usage: %s [options] [stream] ..."
"
\n
You can specify multiple streams on the commandline. They will be enqueued in the playlist."
"
\n
The first item specified will be played first."
"
\n
"
"
\n
Options-styles:"
"
\n
--option A global option that is set for the duration of the program."
"
\n
-option A single letter version of a global --option."
"
\n
:option An option that only applies to the stream directly before it"
"
\n
and that overrides previous settings."
"
\n
"
"
\n
Stream MRL syntax:"
"
\n
[[access][/demux]://]URL[@[title][:chapter][-[title][:chapter]]] [:option=value ...]"
"
\n
"
"
\n
Many of the global --options can also be used as MRL specific :options."
"
\n
Multiple :option=value pairs can be specified."
"
\n
"
"
\n
URL syntax:"
"
\n
[file://]filename Plain media file"
"
\n
http://ip:port/file HTTP URL"
"
\n
ftp://ip:port/file FTP URL"
"
\n
mms://ip:port/file MMS URL"
"
\n
screen:// Screen capture"
"
\n
[dvd://][device][@raw_device] DVD device"
"
\n
[vcd://][device] VCD device"
"
\n
[cdda://][device] Audio CD device"
"
\n
udp://[[<source address>]@[<bind address>][:<bind port>]]"
"
\n
UDP stream sent by a streaming server"
"
\n
vlc://pause:<seconds> Special item to pause the playlist for a certain time"
"
\n
vlc://quit Special item to quit VLC"
"
\n
"
);
static
void
Help
(
libvlc_int_t
*
p_this
,
char
const
*
psz_help_name
)
static
void
Help
(
libvlc_int_t
*
p_this
,
char
const
*
psz_help_name
)
{
{
#ifdef WIN32
#ifdef WIN32
...
...
src/libvlc.h
View file @
66f6cb98
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
typedef
struct
variable_t
variable_t
;
typedef
struct
variable_t
variable_t
;
extern
const
char
vlc_usage
[];
/* Actions (hot keys) */
/* Actions (hot keys) */
typedef
struct
action
typedef
struct
action
{
{
...
...
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