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
af72dcc4
Commit
af72dcc4
authored
Oct 25, 2005
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of confusing --sout-udp-ttl and unneded warning message
parent
00fa05ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
modules/access_output/udp.c
modules/access_output/udp.c
+1
-12
No files found.
modules/access_output/udp.c
View file @
af72dcc4
...
@@ -77,10 +77,6 @@ static void Close( vlc_object_t * );
...
@@ -77,10 +77,6 @@ static void Close( vlc_object_t * );
"Allows you to modify the default caching value for UDP streams. This " \
"Allows you to modify the default caching value for UDP streams. This " \
"value should be set in millisecond units." )
"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_TEXT N_("Group packets")
#define GROUP_LONGTEXT N_("Packets can be sent one by one at the right time " \
#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 " \
"or by groups. This allows you to give the number " \
...
@@ -99,8 +95,6 @@ vlc_module_begin();
...
@@ -99,8 +95,6 @@ vlc_module_begin();
set_category
(
CAT_SOUT
);
set_category
(
CAT_SOUT
);
set_subcategory
(
SUBCAT_SOUT_ACO
);
set_subcategory
(
SUBCAT_SOUT_ACO
);
add_integer
(
SOUT_CFG_PREFIX
"caching"
,
DEFAULT_PTS_DELAY
/
1000
,
NULL
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
VLC_TRUE
);
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_TEXT
,
TTL_LONGTEXT
,
VLC_TRUE
);
add_integer
(
SOUT_CFG_PREFIX
"group"
,
1
,
NULL
,
GROUP_TEXT
,
GROUP_LONGTEXT
,
add_integer
(
SOUT_CFG_PREFIX
"group"
,
1
,
NULL
,
GROUP_TEXT
,
GROUP_LONGTEXT
,
VLC_TRUE
);
VLC_TRUE
);
add_suppressed_integer
(
SOUT_CFG_PREFIX
"late"
);
add_suppressed_integer
(
SOUT_CFG_PREFIX
"late"
);
...
@@ -119,7 +113,6 @@ vlc_module_end();
...
@@ -119,7 +113,6 @@ vlc_module_end();
static
const
char
*
ppsz_sout_options
[]
=
{
static
const
char
*
ppsz_sout_options
[]
=
{
"caching"
,
"caching"
,
"ttl"
,
"group"
,
"group"
,
"raw"
,
"raw"
,
NULL
NULL
...
@@ -199,8 +192,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -199,8 +192,6 @@ static int Open( vlc_object_t *p_this )
if
(
p_access
->
psz_access
!=
NULL
&&
if
(
p_access
->
psz_access
!=
NULL
&&
!
strcmp
(
p_access
->
psz_access
,
"rtp"
)
)
!
strcmp
(
p_access
->
psz_access
,
"rtp"
)
)
{
{
msg_Warn
(
p_access
,
"be careful that rtp output only works with ts "
"payload (not an error)"
);
p_sys
->
b_rtpts
=
1
;
p_sys
->
b_rtpts
=
1
;
}
}
else
else
...
@@ -258,9 +249,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -258,9 +249,7 @@ static int Open( vlc_object_t *p_this )
socket_desc
.
i_bind_port
=
0
;
socket_desc
.
i_bind_port
=
0
;
socket_desc
.
i_handle
=
-
1
;
socket_desc
.
i_handle
=
-
1
;
socket_desc
.
v6only
=
0
;
socket_desc
.
v6only
=
0
;
socket_desc
.
i_ttl
=
0
;
var_Get
(
p_access
,
SOUT_CFG_PREFIX
"ttl"
,
&
val
);
socket_desc
.
i_ttl
=
val
.
i_int
;
p_sys
->
p_thread
->
p_private
=
(
void
*
)
&
socket_desc
;
p_sys
->
p_thread
->
p_private
=
(
void
*
)
&
socket_desc
;
p_network
=
module_Need
(
p_sys
->
p_thread
,
"network"
,
"ipv4"
,
VLC_TRUE
);
p_network
=
module_Need
(
p_sys
->
p_thread
,
"network"
,
"ipv4"
,
VLC_TRUE
);
...
...
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