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
2817b1e4
Commit
2817b1e4
authored
Sep 20, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the object ID field
parent
fddff181
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
include/vlc_common.h
include/vlc_common.h
+0
-1
src/control/core.c
src/control/core.c
+1
-1
src/misc/objects.c
src/misc/objects.c
+0
-2
No files found.
include/vlc_common.h
View file @
2817b1e4
...
@@ -522,7 +522,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
...
@@ -522,7 +522,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
* these members are common for all vlc objects \
* these members are common for all vlc objects \
*/
\
*/
\
/**@{*/
\
/**@{*/
\
int i_object_id; \
int i_object_type; \
int i_object_type; \
const char *psz_object_type; \
const char *psz_object_type; \
char *psz_object_name; \
char *psz_object_name; \
...
...
src/control/core.c
View file @
2817b1e4
...
@@ -187,7 +187,7 @@ void libvlc_wait( libvlc_instance_t *p_i )
...
@@ -187,7 +187,7 @@ void libvlc_wait( libvlc_instance_t *p_i )
int
libvlc_get_vlc_id
(
libvlc_instance_t
*
p_instance
)
int
libvlc_get_vlc_id
(
libvlc_instance_t
*
p_instance
)
{
{
return
p_instance
->
p_libvlc_int
->
i_object_id
;
return
1
;
}
}
const
char
*
libvlc_get_version
(
void
)
const
char
*
libvlc_get_version
(
void
)
...
...
src/misc/objects.c
View file @
2817b1e4
...
@@ -89,7 +89,6 @@ static void vlc_object_dump( vlc_object_t *p_this );
...
@@ -89,7 +89,6 @@ static void vlc_object_dump( vlc_object_t *p_this );
* Local structure lock
* Local structure lock
*****************************************************************************/
*****************************************************************************/
static
vlc_mutex_t
structure_lock
;
static
vlc_mutex_t
structure_lock
;
static
unsigned
object_counter
=
0
;
static
void
close_nocancel
(
int
fd
)
static
void
close_nocancel
(
int
fd
)
{
{
...
@@ -179,7 +178,6 @@ void *__vlc_custom_create( vlc_object_t *p_this, size_t i_size,
...
@@ -179,7 +178,6 @@ void *__vlc_custom_create( vlc_object_t *p_this, size_t i_size,
p_priv
->
prev
=
vlc_internals
(
p_this
)
->
prev
;
p_priv
->
prev
=
vlc_internals
(
p_this
)
->
prev
;
vlc_internals
(
p_this
)
->
prev
=
p_new
;
vlc_internals
(
p_this
)
->
prev
=
p_new
;
vlc_internals
(
p_priv
->
prev
)
->
next
=
p_new
;
vlc_internals
(
p_priv
->
prev
)
->
next
=
p_new
;
p_new
->
i_object_id
=
object_counter
++
;
/* fetch THEN increment */
vlc_mutex_unlock
(
&
structure_lock
);
vlc_mutex_unlock
(
&
structure_lock
);
if
(
i_type
==
VLC_OBJECT_LIBVLC
)
if
(
i_type
==
VLC_OBJECT_LIBVLC
)
...
...
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