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
0ac31c77
Commit
0ac31c77
authored
Jun 14, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn comment into error message.
parent
ed58d07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
projects/activex/vlccontrol.cpp
projects/activex/vlccontrol.cpp
+18
-6
No files found.
projects/activex/vlccontrol.cpp
View file @
0ac31c77
...
...
@@ -509,16 +509,28 @@ STDMETHODIMP VLCControl::toggleMute(void)
STDMETHODIMP
VLCControl
::
setVariable
(
BSTR
name
,
VARIANT
value
)
{
/** setVariable() is an unsafe interface because of security
implications it has and is thus removed. */
return
E_INVALIDARG
;
libvlc_instance_t
*
p_libvlc
;
HRESULT
result
=
_p_instance
->
getVLC
(
&
p_libvlc
);
if
(
SUCCEEDED
(
result
)
)
{
_p_instance
->
setErrorInfo
(
IID_IVLCControl
,
"setVariable() is an unsafe interface to use. "
"It has been removed because of security implications."
);
}
return
E_FAIL
;
};
STDMETHODIMP
VLCControl
::
getVariable
(
BSTR
name
,
VARIANT
*
value
)
{
/** getVariable() is an unsafe interface because of security
implications it has and is thus removed. */
return
E_INVALIDARG
;
libvlc_instance_t
*
p_libvlc
;
HRESULT
result
=
_p_instance
->
getVLC
(
&
p_libvlc
);
if
(
SUCCEEDED
(
result
)
)
{
_p_instance
->
setErrorInfo
(
IID_IVLCControl
,
"getVariable() is an unsafe interface to use. "
"It has been removed because of security implications."
);
}
return
E_FAIL
;
};
void
VLCControl
::
FreeTargetOptions
(
char
**
cOptions
,
int
cOptionCount
)
...
...
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