Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
191053b8
Commit
191053b8
authored
Feb 11, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some dead code
parent
a72f50ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
modules/stream_out/standard.c
modules/stream_out/standard.c
+2
-20
No files found.
modules/stream_out/standard.c
View file @
191053b8
...
...
@@ -344,7 +344,6 @@ static int Open( vlc_object_t *p_this )
{
session_descriptor_t
*
p_session
;
announce_method_t
*
p_method
=
sout_SAPMethod
();
vlc_url_t
url
;
const
int
payload_type
=
33
;
static
const
struct
{
const
char
*
access
;
const
char
*
fmt
;
}
fmts
[]
=
...
...
@@ -403,25 +402,8 @@ static int Open( vlc_object_t *p_this )
SOUT_CFG_PREFIX
);
sout_SessionSetMedia
(
VLC_OBJECT
(
p_stream
),
p_session
,
fmt
,
src
,
sport
,
dst
,
dport
);
/* Now, parse the URL to extract host and port */
vlc_UrlParse
(
&
url
,
psz_url
,
0
);
if
(
url
.
psz_host
)
{
if
(
url
.
i_port
==
0
)
url
.
i_port
=
DEFAULT_PORT
;
#if 0
p_session->psz_uri = strdup( url.psz_host );
p_session->i_port = url.i_port;
p_session->b_rtp = strstr( psz_access, "rtp") ? 1 : 0;
#endif
msg_Info
(
p_this
,
"SAP Enabled"
);
sout_AnnounceRegister
(
p_sout
,
p_session
,
p_method
);
p_stream
->
p_sys
->
p_session
=
p_session
;
}
vlc_UrlClean
(
&
url
);
sout_AnnounceRegister
(
p_sout
,
p_session
,
p_method
);
p_stream
->
p_sys
->
p_session
=
p_session
;
sout_MethodRelease
(
p_method
);
}
nosap:
...
...
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