Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
3202dc45
Commit
3202dc45
authored
Apr 27, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for VLM commands when 'new test vod mux mp2ts enabled' is used.
parent
e611fdae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/misc/rtsp.c
modules/misc/rtsp.c
+4
-2
No files found.
modules/misc/rtsp.c
View file @
3202dc45
...
...
@@ -68,7 +68,7 @@ vlc_module_begin();
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"rtsp"
);
add_string
(
"rtsp-host"
,
NULL
,
NULL
,
HOST_TEXT
,
HOST_LONGTEXT
,
VLC_TRUE
);
add_string
(
"rtsp-raw-mux"
,
NULL
,
NULL
,
RAWMUX_TEXT
,
RAWMUX_TEXT
,
VLC_TRUE
);
add_string
(
"rtsp-raw-mux"
,
"ts"
,
NULL
,
RAWMUX_TEXT
,
RAWMUX_TEXT
,
VLC_TRUE
);
add_integer
(
"rtsp-throttle-users"
,
0
,
NULL
,
THROTLE_TEXT
,
THROTLE_LONGTEXT
,
VLC_TRUE
);
vlc_module_end
();
...
...
@@ -230,7 +230,8 @@ static int Open( vlc_object_t *p_this )
msg_Dbg
(
p_this
,
"allowing up to %d connections"
,
p_sys
->
i_throttle_users
);
p_sys
->
i_connections
=
0
;
p_sys
->
psz_raw_mux
=
config_GetPsz
(
p_vod
,
"rtsp-raw-mux"
);
var_Create
(
p_this
,
"rtsp-raw-mux"
,
VLC_VAR_STRING
|
VLC_VAR_DOINHERIT
);
p_sys
->
psz_raw_mux
=
var_GetString
(
p_this
,
"rtsp-raw-mux"
);
p_sys
->
p_rtsp_host
=
httpd_HostNew
(
VLC_OBJECT
(
p_vod
),
url
.
psz_host
,
url
.
i_port
);
...
...
@@ -274,6 +275,7 @@ static void Close( vlc_object_t * p_this )
httpd_HostDelete
(
p_sys
->
p_rtsp_host
);
var_Destroy
(
p_this
,
"rtsp-throttle-users"
);
var_Destroy
(
p_this
,
"rtsp-raw-mux"
);
/* TODO delete medias */
free
(
p_sys
->
psz_path
);
...
...
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