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
feead2df
Commit
feead2df
authored
Dec 18, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: remove now useless handling of full --rtsp-host syntax
parent
78aa7005
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
28 deletions
+0
-28
modules/misc/rtsp.c
modules/misc/rtsp.c
+0
-7
modules/stream_out/vod.c
modules/stream_out/vod.c
+0
-21
No files found.
modules/misc/rtsp.c
View file @
feead2df
...
...
@@ -270,13 +270,6 @@ static int Open( vlc_object_t *p_this )
p_sys
->
psz_raw_mux
=
var_CreateGetString
(
p_this
,
"rtsp-raw-mux"
);
var_Create
(
p_vod
,
"rtsp-host"
,
VLC_VAR_STRING
);
var_SetString
(
p_vod
,
"rtsp-host"
,
url
.
psz_host
);
if
(
url
.
i_port
<=
0
)
url
.
i_port
=
554
;
var_Create
(
p_vod
,
"rtsp-port"
,
VLC_VAR_INTEGER
);
var_SetInteger
(
p_vod
,
"rtsp-port"
,
url
.
i_port
);
p_sys
->
p_rtsp_host
=
vlc_rtsp_HostNew
(
VLC_OBJECT
(
p_vod
)
);
if
(
!
p_sys
->
p_rtsp_host
)
{
...
...
modules/stream_out/vod.c
View file @
feead2df
...
...
@@ -146,27 +146,6 @@ int OpenVoD( vlc_object_t *p_this )
else
p_sys
->
psz_rtsp_path
=
strdup
(
url
.
psz_path
);
/* if( url.psz_host != NULL && *url.psz_host )
{
msg_Err( p_vod, "\"%s\" RTSP host ignored", url.psz_host );
msg_Info( p_vod, "Pass --rtsp-host=%s on the command line "
"instead.", url.psz_host );
} */
var_Create
(
p_vod
,
"rtsp-host"
,
VLC_VAR_STRING
);
var_SetString
(
p_vod
,
"rtsp-host"
,
url
.
psz_host
);
/* if( url.i_port != 0 )
{
msg_Err( p_vod, "\"%u\" RTSP port ignored", url.i_port );
msg_Info( p_vod, "Pass --rtsp-port=%u on the command line "
"instead.", url.i_port );
} */
if
(
url
.
i_port
<=
0
)
url
.
i_port
=
554
;
var_Create
(
p_vod
,
"rtsp-port"
,
VLC_VAR_INTEGER
);
var_SetInteger
(
p_vod
,
"rtsp-port"
,
url
.
i_port
);
vlc_UrlClean
(
&
url
);
}
...
...
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