Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1e8999a2
Commit
1e8999a2
authored
Mar 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create VLM as a custom object
parent
8654870c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
src/input/vlm.c
src/input/vlm.c
+3
-1
src/misc/objects.c
src/misc/objects.c
+0
-6
No files found.
src/input/vlm.c
View file @
1e8999a2
...
...
@@ -102,6 +102,7 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
vlc_value_t
lockval
;
vlm_t
*
p_vlm
=
NULL
;
char
*
psz_vlmconf
;
static
const
char
vlm_object_name
[]
=
"vlm daemon"
;
/* Avoid multiple creation */
if
(
var_Create
(
p_this
->
p_libvlc
,
"vlm_mutex"
,
VLC_VAR_MUTEX
)
||
...
...
@@ -120,7 +121,8 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
msg_Dbg
(
p_this
,
"creating VLM"
);
p_vlm
=
vlc_object_create
(
p_this
,
VLC_OBJECT_VLM
);
p_vlm
=
vlc_custom_create
(
p_this
,
sizeof
(
*
p_vlm
),
VLC_OBJECT_VLM
,
vlm_object_name
);
if
(
!
p_vlm
)
{
vlc_mutex_unlock
(
lockval
.
p_address
);
...
...
src/misc/objects.c
View file @
1e8999a2
...
...
@@ -53,8 +53,6 @@
#include "vlc_codec.h"
#include "vlc_filter.h"
#include "vlc_vlm.h"
#include "input/vlm_internal.h"
#include "vlc_osd.h"
#include "vlc_meta.h"
...
...
@@ -304,10 +302,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size
=
sizeof
(
sout_instance_t
);
psz_type
=
"stream output"
;
break
;
case
VLC_OBJECT_VLM
:
i_size
=
sizeof
(
vlm_t
);
psz_type
=
"vlm dameon"
;
break
;
case
VLC_OBJECT_OPENGL
:
i_size
=
sizeof
(
vout_thread_t
);
psz_type
=
"opengl"
;
...
...
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