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
c26261bf
Commit
c26261bf
authored
Jun 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UDP: remove unneeded DCCP support
parent
24d0946f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
modules/access/udp.c
modules/access/udp.c
+0
-27
No files found.
modules/access/udp.c
View file @
c26261bf
...
...
@@ -41,16 +41,6 @@
#include <vlc_access.h>
#include <vlc_network.h>
#ifndef SOCK_DCCP
/* provisional API */
# ifdef __linux__
# define SOCK_DCCP 6
# endif
#endif
#ifndef IPPROTO_DCCP
# define IPPROTO_DCCP 33
/* IANA */
#endif
#define MTU 65535
/*****************************************************************************
...
...
@@ -86,7 +76,6 @@ vlc_module_begin();
add_shortcut
(
"udp4"
);
add_shortcut
(
"udp6"
);
add_shortcut
(
"rtptcp"
);
/* tcp name is already taken */
add_shortcut
(
"dccp"
);
set_callbacks
(
Open
,
Close
);
vlc_module_end
();
...
...
@@ -155,9 +144,6 @@ static int Open( vlc_object_t *p_this )
else
if
(
strcmp
(
p_access
->
psz_access
,
"rtptcp"
)
==
0
)
proto
=
IPPROTO_TCP
;
else
if
(
strcmp
(
p_access
->
psz_access
,
"dccp"
)
==
0
)
proto
=
IPPROTO_DCCP
;
}
i_bind_port
=
var_CreateGetInteger
(
p_access
,
"server-port"
);
...
...
@@ -218,19 +204,6 @@ static int Open( vlc_object_t *p_this )
p_access
->
pf_block
=
BlockRTP
;
p_sys
->
b_comedia
=
p_sys
->
b_framed_rtp
=
true
;
break
;
case
IPPROTO_DCCP
:
#ifdef SOCK_DCCP
var_Create
(
p_access
,
"dccp-service"
,
VLC_VAR_STRING
);
var_SetString
(
p_access
,
"dccp-service"
,
"RTPV"
);
p_sys
->
fd
=
net_Connect
(
p_access
,
psz_server_addr
,
i_server_port
,
SOCK_DCCP
,
IPPROTO_DCCP
);
#else
p_sys
->
fd
=
-
1
;
msg_Err
(
p_access
,
"DCCP support not compiled-in!"
);
#endif
p_sys
->
b_comedia
=
true
;
break
;
}
free
(
psz_name
);
if
(
p_sys
->
fd
==
-
1
)
...
...
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