Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
b8d32c7c
Commit
b8d32c7c
authored
6 years ago
by
Steve Lhomme
Browse files
Options
Downloads
Patches
Plain Diff
include: move vlc_tick_t in vlc_mtime.h
parent
ff56c92a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vlc_common.h
+0
-13
0 additions, 13 deletions
include/vlc_common.h
include/vlc_mtime.h
+13
-0
13 additions, 0 deletions
include/vlc_mtime.h
with
13 additions
and
13 deletions
include/vlc_common.h
+
0
−
13
View file @
b8d32c7c
...
...
@@ -276,19 +276,6 @@
/*****************************************************************************
* Basic types definitions
*****************************************************************************/
/**
* High precision date or time interval
*
* Store a high precision date or time interval. The maximum precision is the
* microsecond, and a 64 bits integer is used to avoid overflows (maximum
* time interval is then 292271 years, which should be long enough for any
* video). Dates are stored as microseconds since a common date (usually the
* epoch). Note that date and time intervals can be manipulated using regular
* arithmetic operators, and that no special functions are required.
*/
typedef
int64_t
vlc_tick_t
;
typedef
vlc_tick_t
mtime_t
;
/* deprecated, use vlc_tick_t */
/**
* The vlc_fourcc_t type.
*
...
...
This diff is collapsed.
Click to expand it.
include/vlc_mtime.h
+
13
−
0
View file @
b8d32c7c
...
...
@@ -32,6 +32,19 @@
#ifndef __VLC_MTIME_H
# define __VLC_MTIME_H 1
/**
* High precision date or time interval
*
* Store a high precision date or time interval. The maximum precision is the
* microsecond, and a 64 bits integer is used to avoid overflows (maximum
* time interval is then 292271 years, which should be long enough for any
* video). Dates are stored as microseconds since a common date (usually the
* epoch). Note that date and time intervals can be manipulated using regular
* arithmetic operators, and that no special functions are required.
*/
typedef
int64_t
vlc_tick_t
;
typedef
vlc_tick_t
mtime_t
;
/* deprecated, use vlc_tick_t */
/*****************************************************************************
* MSTRTIME_MAX_SIZE: maximum possible size of mstrtime
*****************************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment