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
2a2b6acc
Commit
2a2b6acc
authored
Dec 16, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vlc_object_exist rpn function that checks if an object of ST(1) type exists
parent
28f1eebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
modules/control/http/rpn.c
modules/control/http/rpn.c
+15
-0
No files found.
modules/control/http/rpn.c
View file @
2a2b6acc
...
...
@@ -750,6 +750,21 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars,
if
(
b_need_release
&&
p_object
!=
NULL
)
vlc_object_release
(
p_object
);
}
else
if
(
!
strcmp
(
s
,
"vlc_object_exists"
)
)
{
char
*
psz_object
=
E_
(
SSPop
)(
st
);
vlc_bool_t
b_need_release
;
vlc_object_t
*
p_object
=
GetVLCObject
(
p_intf
,
psz_object
,
&
b_need_release
);
if
(
b_need_release
&&
p_object
!=
NULL
)
vlc_object_release
(
p_object
);
if
(
p_object
!=
NULL
)
E_
(
SSPush
)(
st
,
"1"
);
else
E_
(
SSPush
)(
st
,
"0"
);
}
else
if
(
!
strcmp
(
s
,
"vlc_config_set"
)
)
{
char
*
psz_variable
=
E_
(
SSPop
)(
st
);
...
...
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