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
9747349a
Commit
9747349a
authored
May 26, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove last use of FIND_ANYWHERE
parent
b0b4694b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
src/misc/objects.c
src/misc/objects.c
+4
-7
No files found.
src/misc/objects.c
View file @
9747349a
...
...
@@ -173,9 +173,9 @@ void *vlc_custom_create (vlc_object_t *parent, size_t length,
/* TODO: should be in src/libvlc.c */
int
canc
=
vlc_savecancel
();
var_Create
(
obj
,
"tree"
,
VLC_VAR_STRING
|
VLC_VAR_ISCOMMAND
);
var_AddCallback
(
obj
,
"tree"
,
DumpCommand
,
NULL
);
var_AddCallback
(
obj
,
"tree"
,
DumpCommand
,
obj
);
var_Create
(
obj
,
"vars"
,
VLC_VAR_STRING
|
VLC_VAR_ISCOMMAND
);
var_AddCallback
(
obj
,
"vars"
,
DumpCommand
,
NULL
);
var_AddCallback
(
obj
,
"vars"
,
DumpCommand
,
obj
);
vlc_restorecancel
(
canc
);
}
...
...
@@ -648,19 +648,16 @@ static void DumpVariable (const void *data, const VISIT which, const int depth)
static
int
DumpCommand
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
(
void
)
oldval
;
(
void
)
p_data
;
(
void
)
oldval
;
vlc_object_t
*
p_object
=
NULL
;
if
(
*
newval
.
psz_string
)
{
/* try using the object's name to find it */
p_object
=
vlc_object_find_name
(
p_this
,
newval
.
psz_string
,
FIND_ANYWHERE
);
p_object
=
vlc_object_find_name
(
p_data
,
newval
.
psz_string
,
FIND_CHILD
);
if
(
!
p_object
)
{
return
VLC_ENOOBJ
;
}
}
libvlc_lock
(
p_this
->
p_libvlc
);
if
(
*
psz_cmd
==
't'
)
...
...
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