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
e879989e
Commit
e879989e
authored
Apr 06, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed a few return codes from APIs
parent
63851f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
activex/vlccontrol.cpp
activex/vlccontrol.cpp
+4
-4
No files found.
activex/vlccontrol.cpp
View file @
e879989e
...
...
@@ -40,7 +40,7 @@ HRESULT VLCControl::getTypeInfo(void)
{
ITypeLib
*
p_typelib
;
HRESULT
hr
=
_p_instance
->
getTypeLib
(
LOCALE_USER_DEFAULT
,
&
p_typelib
);
hr
=
_p_instance
->
getTypeLib
(
LOCALE_USER_DEFAULT
,
&
p_typelib
);
if
(
SUCCEEDED
(
hr
)
)
{
hr
=
p_typelib
->
GetTypeInfoOfGuid
(
IID_IVLCControl
,
&
_p_typeinfo
);
...
...
@@ -186,7 +186,7 @@ STDMETHODIMP VLCControl::get_Position(float *position)
if
(
_p_instance
->
isRunning
()
)
{
int
i_vlc
;
HRESULT
result
=
_p_instance
->
getVLCObject
(
&
i_vlc
);
result
=
_p_instance
->
getVLCObject
(
&
i_vlc
);
if
(
SUCCEEDED
(
result
)
)
{
*
position
=
VLC_PositionGet
(
i_vlc
);
...
...
@@ -203,7 +203,7 @@ STDMETHODIMP VLCControl::put_Position(float position)
if
(
_p_instance
->
isRunning
()
)
{
int
i_vlc
;
HRESULT
result
=
_p_instance
->
getVLCObject
(
&
i_vlc
);
result
=
_p_instance
->
getVLCObject
(
&
i_vlc
);
if
(
SUCCEEDED
(
result
)
)
{
VLC_PositionSet
(
i_vlc
,
position
);
...
...
@@ -221,7 +221,7 @@ STDMETHODIMP VLCControl::get_Time(int *seconds)
if
(
_p_instance
->
isRunning
()
)
{
int
i_vlc
;
HRESULT
result
=
_p_instance
->
getVLCObject
(
&
i_vlc
);
result
=
_p_instance
->
getVLCObject
(
&
i_vlc
);
if
(
SUCCEEDED
(
result
)
)
{
*
seconds
=
VLC_TimeGet
(
i_vlc
);
...
...
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