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
ba9476d4
Commit
ba9476d4
authored
Sep 01, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unsupported profiles
parent
889d3ddb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
24 deletions
+4
-24
modules/stream_out/standard.c
modules/stream_out/standard.c
+4
-24
No files found.
modules/stream_out/standard.c
View file @
ba9476d4
...
...
@@ -337,37 +337,22 @@ static int Open( vlc_object_t *p_this )
{
session_descriptor_t
*
p_session
;
announce_method_t
*
p_method
=
sout_SAPMethod
();
const
int
payload_type
=
33
;
static
const
struct
{
const
char
*
access
;
const
char
*
fmt
;
}
fmts
[]
=
{
/* TLS/DTLS variants (none implemented): */
{
"dtlslite"
,
"UDPLite/TLS/RTP/AVP %d"
},
{
"dtls"
,
"UDP/TLS/RTP/AVP %d"
},
{
"dccps"
,
"DCCP/TLS/RTP/AVP %d"
},
{
"tls"
,
"TCP/TLS/RTP/AVP %d"
},
/* Plain text: */
{
"udplite"
,
"UDPLite/RTP/AVP %d"
},
{
"udp"
,
"udp mpeg"
},
{
"rtp"
,
"RTP/AVP %d"
},
/* Currently unsupported access outputs: */
{
"dccp"
,
"DCCP/RTP/AVP %d"
},
{
"tcp"
,
"TCP/RTP/AVP %d"
},
/* SRTP (none implemented): */
{
"srtp"
,
"RTP/SAVP %d"
},
{
"sudplite"
,
"UDPLite/RTP/SAVP %d"
},
{
"sdccp"
,
"DCCP/RTP/SAVP %d"
},
{
"stcp"
,
"TCP/RTP/SAVP %d"
},
{
"rtp"
,
"RTP/AVP 33"
},
{
NULL
,
NULL
}
};
const
char
*
psz_sdp_
fmt
=
NULL
;
char
*
fmt
,
*
src
,
*
dst
;
const
char
*
fmt
=
NULL
;
char
*
src
,
*
dst
;
int
sport
,
dport
;
for
(
unsigned
i
=
0
;
fmts
[
i
].
access
!=
NULL
;
i
++
)
if
(
strncasecmp
(
fmts
[
i
].
access
,
psz_access
,
strlen
(
fmts
[
i
].
access
))
==
0
)
{
psz_sdp_
fmt
=
fmts
[
i
].
fmt
;
fmt
=
fmts
[
i
].
fmt
;
break
;
}
...
...
@@ -376,10 +361,6 @@ static int Open( vlc_object_t *p_this )
sport
=
var_GetInteger
(
p_access
,
"src-port"
);
dport
=
var_GetInteger
(
p_access
,
"dst-port"
);
if
((
psz_sdp_fmt
==
NULL
)
||
(
asprintf
(
&
fmt
,
psz_sdp_fmt
,
payload_type
)
==
-
1
))
fmt
=
NULL
;
msg_Dbg
(
p_stream
,
"SAP advertized format: %s"
,
fmt
);
if
((
fmt
==
NULL
)
||
((
src
==
NULL
)
&&
(
dst
==
NULL
)))
{
...
...
@@ -397,7 +378,6 @@ static int Open( vlc_object_t *p_this )
sout_MethodRelease
(
p_method
);
nosap:
free
(
fmt
);
free
(
src
);
free
(
dst
);
}
...
...
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