Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
78651e74
Commit
78651e74
authored
Aug 31, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 1400 rather than 1500 as default *application-layer* MTU to be on the
safe side
parent
d2392e8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
modules/demux/ts.c
modules/demux/ts.c
+1
-1
src/libvlc-module.c
src/libvlc-module.c
+5
-3
No files found.
modules/demux/ts.c
View file @
78651e74
...
...
@@ -141,7 +141,7 @@ vlc_module_begin();
add_string
(
"ts-extra-pmt"
,
NULL
,
NULL
,
PMT_TEXT
,
PMT_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"ts-es-id-pid"
,
1
,
NULL
,
PID_TEXT
,
PID_LONGTEXT
,
VLC_TRUE
);
add_string
(
"ts-out"
,
NULL
,
NULL
,
TSOUT_TEXT
,
TSOUT_LONGTEXT
,
VLC_TRUE
);
add_integer
(
"ts-out-mtu"
,
1
5
00
,
NULL
,
MTUOUT_TEXT
,
add_integer
(
"ts-out-mtu"
,
1
4
00
,
NULL
,
MTUOUT_TEXT
,
MTUOUT_LONGTEXT
,
VLC_TRUE
);
add_string
(
"ts-csa-ck"
,
NULL
,
NULL
,
CSA_TEXT
,
CSA_LONGTEXT
,
VLC_TRUE
);
add_integer
(
"ts-csa-pkt"
,
188
,
NULL
,
CPKT_TEXT
,
CPKT_LONGTEXT
,
VLC_TRUE
);
...
...
src/libvlc-module.c
View file @
78651e74
...
...
@@ -475,8 +475,10 @@ static const char *ppsz_clock_descriptions[] =
#define MTU_TEXT N_("MTU of the network interface")
#define MTU_LONGTEXT N_( \
"This is the maximum packet size that can be transmitted " \
"over the network interface. On Ethernet it is usually 1500 bytes.")
"This is the maximum application-layer packet size that can be " \
"transmitted over the network (in bytes).")
/* Should be less than 1500 - 8[ppp] - 40[ip6] - 8[udp] in any case. */
#define MTU_DEFAULT 1400
#define TTL_TEXT N_("Hop limit (TTL)")
#define TTL_LONGTEXT N_( \
...
...
@@ -1535,7 +1537,7 @@ vlc_module_begin();
add_integer
(
"server-port"
,
1234
,
NULL
,
SERVER_PORT_TEXT
,
SERVER_PORT_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"mtu"
,
1500
,
NULL
,
MTU_TEXT
,
MTU_LONGTEXT
,
VLC_TRUE
);
add_integer
(
"mtu"
,
MTU_DEFAULT
,
NULL
,
MTU_TEXT
,
MTU_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"ipv6"
,
0
,
NULL
,
IPV6_TEXT
,
IPV6_LONGTEXT
,
VLC_FALSE
);
change_short
(
'6'
);
add_bool
(
"ipv4"
,
0
,
NULL
,
IPV4_TEXT
,
IPV4_LONGTEXT
,
VLC_FALSE
);
...
...
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