Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6c1e53fa
Commit
6c1e53fa
authored
Jan 23, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vlc_list_find
parent
af3779ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
48 deletions
+0
-48
src/libvlc.h
src/libvlc.h
+0
-2
src/misc/objects.c
src/misc/objects.c
+0
-46
No files found.
src/libvlc.h
View file @
6c1e53fa
...
...
@@ -50,8 +50,6 @@ void system_End ( libvlc_int_t * );
*/
#define vlc_object_signal_unlocked( obj )
vlc_list_t
*
vlc_list_find
(
vlc_object_t
*
,
int
,
int
);
/*
* Threads subsystem
*/
...
...
src/misc/objects.c
View file @
6c1e53fa
...
...
@@ -707,52 +707,6 @@ void __vlc_object_detach( vlc_object_t *p_this )
vlc_object_release
(
p_parent
);
}
/**
****************************************************************************
* find a list typed objects and increment their refcount
*****************************************************************************
* This function recursively looks for a given object type. i_mode can be one
* of FIND_PARENT, FIND_CHILD or FIND_ANYWHERE.
*****************************************************************************/
vlc_list_t
*
vlc_list_find
(
vlc_object_t
*
p_this
,
int
i_type
,
int
i_mode
)
{
vlc_list_t
*
p_list
;
int
i_count
=
0
;
/* Look for the objects */
switch
(
i_mode
)
{
case
FIND_ANYWHERE
:
return
vlc_list_find
(
VLC_OBJECT
(
p_this
->
p_libvlc
),
i_type
,
FIND_CHILD
);
case
FIND_CHILD
:
libvlc_lock
(
p_this
->
p_libvlc
);
i_count
=
CountChildren
(
p_this
,
i_type
);
p_list
=
NewList
(
i_count
);
/* Check allocation was successful */
if
(
p_list
->
i_count
!=
i_count
)
{
libvlc_unlock
(
p_this
->
p_libvlc
);
p_list
->
i_count
=
0
;
break
;
}
p_list
->
i_count
=
0
;
ListChildren
(
p_list
,
p_this
,
i_type
);
libvlc_unlock
(
p_this
->
p_libvlc
);
break
;
default:
msg_Err
(
p_this
,
"unimplemented!"
);
p_list
=
NewList
(
0
);
break
;
}
return
p_list
;
}
/**
* Gets the list of children of an objects, and increment their reference
* count.
...
...
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