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
2cfffefb
Commit
2cfffefb
authored
Sep 26, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- input: make sure time units are in milliseconds, as expected
parent
97823006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/control/input.c
src/control/input.c
+3
-3
No files found.
src/control/input.c
View file @
2cfffefb
...
...
@@ -68,7 +68,7 @@ vlc_int64_t libvlc_input_get_length( libvlc_input_t *p_input,
var_Get
(
p_input_thread
,
"length"
,
&
val
);
vlc_object_release
(
p_input_thread
);
return
val
.
i_time
;
return
val
.
i_time
/
1000LL
;
}
vlc_int64_t
libvlc_input_get_time
(
libvlc_input_t
*
p_input
,
...
...
@@ -82,7 +82,7 @@ vlc_int64_t libvlc_input_get_time( libvlc_input_t *p_input,
var_Get
(
p_input_thread
,
"time"
,
&
val
);
vlc_object_release
(
p_input_thread
);
return
val
.
i_time
;
return
val
.
i_time
/
1000LL
;
}
void
libvlc_input_set_time
(
libvlc_input_t
*
p_input
,
vlc_int64_t
time
,
...
...
@@ -94,7 +94,7 @@ void libvlc_input_set_time( libvlc_input_t *p_input, vlc_int64_t time,
p_input_thread
=
libvlc_get_input_thread
(
p_input
,
p_e
);
if
(
libvlc_exception_raised
(
p_e
)
)
return
;
value
.
i_time
=
time
;
value
.
i_time
=
time
*
1000LL
;
var_Set
(
p_input_thread
,
"time"
,
value
);
vlc_object_release
(
p_input_thread
);
}
...
...
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