Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
df65d657
Commit
df65d657
authored
Sep 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CLOCK_FREQ is a 64-bits quantity as mtime_t
parent
218c644c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/vlc_config.h
include/vlc_config.h
+1
-1
modules/demux/rtpsession.c
modules/demux/rtpsession.c
+1
-1
No files found.
include/vlc_config.h
View file @
df65d657
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
* General configuration
* General configuration
*****************************************************************************/
*****************************************************************************/
#define CLOCK_FREQ
1000000
#define CLOCK_FREQ
(UINT64_C(1000000))
/* When creating or destroying threads in blocking mode, delay to poll thread
/* When creating or destroying threads in blocking mode, delay to poll thread
...
...
modules/demux/rtpsession.c
View file @
df65d657
...
@@ -366,7 +366,7 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src)
...
@@ -366,7 +366,7 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src)
/* FIXME: handle timestamp wrap properly */
/* FIXME: handle timestamp wrap properly */
/* TODO: sync multiple sources sanely... */
/* TODO: sync multiple sources sanely... */
const
uint32_t
timestamp
=
GetDWBE
(
block
->
p_buffer
+
4
);
const
uint32_t
timestamp
=
GetDWBE
(
block
->
p_buffer
+
4
);
block
->
i_pts
=
UINT64_C
(
1
)
*
CLOCK_FREQ
*
timestamp
/
pt
->
frequency
;
block
->
i_pts
=
CLOCK_FREQ
*
timestamp
/
pt
->
frequency
;
/* CSRC count */
/* CSRC count */
size_t
skip
=
12u
+
(
block
->
p_buffer
[
0
]
&
0x0F
)
*
4
;
size_t
skip
=
12u
+
(
block
->
p_buffer
[
0
]
&
0x0F
)
*
4
;
...
...
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