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
5412a976
Commit
5412a976
authored
Dec 12, 2005
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/core.c: raise exceptions in get_media_position
parent
3fe47215
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
src/control/core.c
src/control/core.c
+5
-10
No files found.
src/control/core.c
View file @
5412a976
...
...
@@ -117,20 +117,15 @@ mediacontrol_get_media_position( mediacontrol_Instance *self,
if
(
!
p_input
)
{
/*
RAISE( mediacontrol_InternalException, "No input thread." );
return( NULL );
*/
retval
->
value
=
0
;
return
retval
;
RAISE
(
mediacontrol_InternalException
,
"No input thread."
);
return
NULL
;
}
if
(
an_origin
==
mediacontrol_RelativePosition
||
an_origin
==
mediacontrol_ModuloPosition
)
if
(
an_origin
!=
mediacontrol_AbsolutePosition
)
{
/* Relative or ModuloPosition make no sense */
retval
->
value
=
0
;
return
retval
;
RAISE
(
mediacontrol_PositionOriginNotSupported
,
"Only absolute position is valid."
)
;
return
NULL
;
}
/* We are asked for an AbsolutePosition. */
...
...
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