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
255b467c
Commit
255b467c
authored
Dec 08, 2010
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option to choose the VoD server module
For users who'll want to revert to the old one for whatever reason
parent
31258aa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/input/vlm.c
src/input/vlm.c
+1
-1
src/libvlc-module.c
src/libvlc-module.c
+7
-0
No files found.
src/input/vlm.c
View file @
255b467c
...
...
@@ -736,7 +736,7 @@ static int vlm_ControlMediaAdd( vlm_t *p_vlm, vlm_media_t *p_cfg, int64_t *p_id
p_vlm
->
p_vod
=
vlc_custom_create
(
VLC_OBJECT
(
p_vlm
),
sizeof
(
vod_t
),
VLC_OBJECT_GENERIC
,
"vod server"
);
vlc_object_attach
(
p_vlm
->
p_vod
,
p_vlm
->
p_libvlc
);
p_vlm
->
p_vod
->
p_module
=
module_need
(
p_vlm
->
p_vod
,
"vod server"
,
NULL
,
false
);
p_vlm
->
p_vod
->
p_module
=
module_need
(
p_vlm
->
p_vod
,
"vod server"
,
"$vod-server"
,
false
);
if
(
!
p_vlm
->
p_vod
->
p_module
)
{
msg_Err
(
p_vlm
,
"cannot find vod server"
);
...
...
src/libvlc-module.c
View file @
255b467c
...
...
@@ -1124,6 +1124,11 @@ static const char *const ppsz_clock_descriptions[] =
"the correct demuxer is not automatically detected. You should not "\
"set this as a global option unless you really know what you are doing." )
#define VOD_SERVER_TEXT N_("VoD server module")
#define VOD_SERVER_LONGTEXT N_( \
"You can select which VoD server module you want to use. Set this " \
"to `vod_rtsp' to switch back to the old, legacy module." )
#define RT_PRIORITY_TEXT N_("Allow real-time priority")
#define RT_PRIORITY_LONGTEXT N_( \
"Running VLC in real-time priority will allow for much more precise " \
...
...
@@ -2065,6 +2070,8 @@ vlc_module_begin ()
add_module
(
"memcpy"
,
"memcpy"
,
NULL
,
NULL
,
MEMCPY_TEXT
,
MEMCPY_LONGTEXT
,
true
)
change_need_restart
()
add_module
(
"vod-server"
,
"vod server"
,
NULL
,
NULL
,
VOD_SERVER_TEXT
,
VOD_SERVER_LONGTEXT
,
true
)
set_section
(
N_
(
"Plugins"
),
NULL
)
add_bool
(
"plugins-cache"
,
true
,
PLUGINS_CACHE_TEXT
,
...
...
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