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
146b568b
Commit
146b568b
authored
Apr 25, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option descriptions
parent
dec85dda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
5 deletions
+39
-5
modules/access_output/file.c
modules/access_output/file.c
+5
-1
modules/access_output/http.c
modules/access_output/http.c
+8
-0
modules/access_output/udp.c
modules/access_output/udp.c
+26
-4
No files found.
modules/access_output/file.c
View file @
146b568b
...
...
@@ -59,13 +59,17 @@ static int Open ( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
#define SOUT_CFG_PREFIX "sout-file-"
#define APPEND_TEXT N_("Append to file")
#define APPEND_LONGTEXT N_( "Append to file if it exists instead " \
"of replacing it.")
vlc_module_begin
();
set_description
(
_
(
"File stream ouput"
)
);
set_capability
(
"sout access"
,
50
);
add_shortcut
(
"file"
);
add_shortcut
(
"stream"
);
add_bool
(
SOUT_CFG_PREFIX
"append"
,
0
,
NULL
,
"append"
,
""
,
VLC_TRUE
);
add_bool
(
SOUT_CFG_PREFIX
"append"
,
0
,
NULL
,
APPEND_TEXT
,
APPEND_LONGTEXT
,
VLC_TRUE
);
set_callbacks
(
Open
,
Close
);
vlc_module_end
();
...
...
modules/access_output/http.c
View file @
146b568b
...
...
@@ -43,6 +43,14 @@ static void Close( vlc_object_t * );
#define SOUT_CFG_PREFIX "sout-http-"
#define USER_TEXT N_("Username")
#define USER_LONGTEXT N_("Allows you to give a user name that will be " \
"requested to access the stream." )
#define PASS_TEXT N_("Password")
#define PASS_LONGTEXT N_("Allows you to give a password that will be " \
"requested to access the stream." )
vlc_module_begin
();
set_description
(
_
(
"HTTP stream ouput"
)
);
set_capability
(
"sout access"
,
0
);
...
...
modules/access_output/udp.c
View file @
146b568b
...
...
@@ -65,13 +65,35 @@ static void Close( vlc_object_t * );
"Allows you to modify the default caching value for udp streams. This " \
"value should be set in millisecond units." )
#define TTL_TEXT N_("Time To Live")
#define TTL_LONGTEXT N_("Allows you to define the time to live of the " \
"outgoing stream.")
#define GROUP_TEXT N_("Group packets")
#define GROUP_LONGTEXT N_("Packets can be sent one by one at the right time " \
"or by groups. This allows you to give the number " \
"of packets that will be sent at a time." )
#define LATE_TEXT N_("Late delay (ms)" )
#define LATE_LONGTEXT N_("Late packets are dropped. This allows you to give " \
"the time (in milliseconds) a packet is allowed to be" \
" late.")
#define RAW_TEXT N_("Raw write")
#define RAW_LONGTEXT N_("If you enable this option, packets will be sent " \
"directly, without trying to fill the MTU (ie, " \
"without trying to make the biggest possible packets " \
"in order to improve streaming)." )
vlc_module_begin
();
set_description
(
_
(
"UDP stream ouput"
)
);
add_integer
(
SOUT_CFG_PREFIX
"caching"
,
DEFAULT_PTS_DELAY
/
1000
,
NULL
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"ttl"
,
0
,
NULL
,
"ttl"
,
""
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"group"
,
1
,
NULL
,
"group"
,
""
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"late"
,
0
,
NULL
,
"late (ms)"
,
""
,
VLC_TRUE
);
add_bool
(
SOUT_CFG_PREFIX
"raw"
,
0
,
NULL
,
"raw"
,
""
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"ttl"
,
0
,
NULL
,
TTL_TEXT
,
TTL_LONGTEXT
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"group"
,
1
,
NULL
,
GROUP_TEXT
,
GROUP_LONGTEXT
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"late"
,
0
,
NULL
,
LATE_TEXT
,
LATE_LONGTEXT
,
VLC_TRUE
);
add_bool
(
SOUT_CFG_PREFIX
"raw"
,
0
,
NULL
,
RAW_TEXT
,
RAW_LONGTEXT
,
VLC_TRUE
);
set_capability
(
"sout access"
,
100
);
add_shortcut
(
"udp"
);
...
...
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