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
ec396c6a
Commit
ec396c6a
authored
Sep 26, 2006
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/control/mediacontrol_core.c: libvlc_input now uses milliseconds as
time unit
parent
bd4da01e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/control/mediacontrol_core.c
src/control/mediacontrol_core.c
+3
-3
No files found.
src/control/mediacontrol_core.c
View file @
ec396c6a
...
...
@@ -141,7 +141,7 @@ mediacontrol_get_media_position( mediacontrol_Instance *self,
if
(
a_key
==
mediacontrol_MediaTime
)
{
retval
->
value
=
pos
/
1000
;
retval
->
value
=
pos
;
}
else
{
...
...
@@ -154,7 +154,7 @@ mediacontrol_get_media_position( mediacontrol_Instance *self,
retval
->
value
=
mediacontrol_unit_convert
(
self
->
p_playlist
->
p_input
,
mediacontrol_MediaTime
,
a_key
,
pos
/
1000
);
pos
);
}
libvlc_input_free
(
p_input
);
return
retval
;
...
...
@@ -177,7 +177,7 @@ mediacontrol_set_media_position( mediacontrol_Instance *self,
HANDLE_LIBVLC_EXCEPTION_VOID
(
&
ex
);
i_pos
=
mediacontrol_position2microsecond
(
self
->
p_playlist
->
p_input
,
a_position
);
libvlc_input_set_time
(
p_input
,
i_pos
,
&
ex
);
libvlc_input_set_time
(
p_input
,
i_pos
/
1000
,
&
ex
);
libvlc_input_free
(
p_input
);
HANDLE_LIBVLC_EXCEPTION_VOID
(
&
ex
);
}
...
...
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