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
d699c5c3
Commit
d699c5c3
authored
Sep 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove VLC_OBJECT_LIBVLC
parent
c48296e1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
include/vlc_objects.h
include/vlc_objects.h
+0
-1
modules/misc/lua/libs/objects.c
modules/misc/lua/libs/objects.c
+1
-2
src/libvlc.c
src/libvlc.c
+1
-1
src/misc/objects.c
src/misc/objects.c
+2
-2
No files found.
include/vlc_objects.h
View file @
d699c5c3
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
*/
*/
/* Object types */
/* Object types */
#define VLC_OBJECT_LIBVLC (-2)
#define VLC_OBJECT_INTF (-4)
#define VLC_OBJECT_INTF (-4)
#define VLC_OBJECT_PLAYLIST (-5)
#define VLC_OBJECT_PLAYLIST (-5)
#define VLC_OBJECT_INPUT (-7)
#define VLC_OBJECT_INPUT (-7)
...
...
modules/misc/lua/libs/objects.c
View file @
d699c5c3
...
@@ -89,8 +89,7 @@ static int vlc_object_type_from_string( const char *psz_name )
...
@@ -89,8 +89,7 @@ static int vlc_object_type_from_string( const char *psz_name )
int
i_type
;
int
i_type
;
const
char
*
psz_name
;
const
char
*
psz_name
;
}
pp_objects
[]
=
}
pp_objects
[]
=
{
{
VLC_OBJECT_LIBVLC
,
"libvlc"
},
{
{
VLC_OBJECT_INTF
,
"intf"
},
{
VLC_OBJECT_INTF
,
"intf"
},
{
VLC_OBJECT_INPUT
,
"input"
},
{
VLC_OBJECT_INPUT
,
"input"
},
{
VLC_OBJECT_DECODER
,
"decoder"
},
{
VLC_OBJECT_DECODER
,
"decoder"
},
{
VLC_OBJECT_VOUT
,
"vout"
},
{
VLC_OBJECT_VOUT
,
"vout"
},
...
...
src/libvlc.c
View file @
d699c5c3
...
@@ -256,7 +256,7 @@ libvlc_int_t * libvlc_InternalCreate( void )
...
@@ -256,7 +256,7 @@ libvlc_int_t * libvlc_InternalCreate( void )
/* Allocate a libvlc instance object */
/* Allocate a libvlc instance object */
p_libvlc
=
__vlc_custom_create
(
NULL
,
sizeof
(
*
priv
),
p_libvlc
=
__vlc_custom_create
(
NULL
,
sizeof
(
*
priv
),
VLC_OBJECT_
LIBVL
C
,
"libvlc"
);
VLC_OBJECT_
GENERI
C
,
"libvlc"
);
if
(
p_libvlc
!=
NULL
)
if
(
p_libvlc
!=
NULL
)
i_instances
++
;
i_instances
++
;
vlc_mutex_unlock
(
lock
);
vlc_mutex_unlock
(
lock
);
...
...
src/misc/objects.c
View file @
d699c5c3
...
@@ -183,8 +183,8 @@ void *__vlc_custom_create( vlc_object_t *p_this, size_t i_size,
...
@@ -183,8 +183,8 @@ void *__vlc_custom_create( vlc_object_t *p_this, size_t i_size,
vlc_internals
(
p_priv
->
prev
)
->
next
=
p_new
;
vlc_internals
(
p_priv
->
prev
)
->
next
=
p_new
;
libvlc_unlock
(
p_new
->
p_libvlc
);
libvlc_unlock
(
p_new
->
p_libvlc
);
if
(
i_type
==
VLC_OBJECT_LIBVLC
)
if
(
p_new
==
VLC_OBJECT
(
p_new
->
p_libvlc
)
)
{
{
/* TODO: should be in src/libvlc.c */
int
canc
=
vlc_savecancel
();
int
canc
=
vlc_savecancel
();
var_Create
(
p_new
,
"list"
,
VLC_VAR_STRING
|
VLC_VAR_ISCOMMAND
);
var_Create
(
p_new
,
"list"
,
VLC_VAR_STRING
|
VLC_VAR_ISCOMMAND
);
var_AddCallback
(
p_new
,
"list"
,
DumpCommand
,
NULL
);
var_AddCallback
(
p_new
,
"list"
,
DumpCommand
,
NULL
);
...
...
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