Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
7905fe6a
Commit
7905fe6a
authored
May 20, 2014
by
François Cartegnie
🤞
Browse files
demux: mp4: timescales are u32
parent
7ca27c5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/libmp4.h
View file @
7905fe6a
...
...
@@ -1339,7 +1339,7 @@ typedef struct
float
f_rotation
;
/* more internal data */
uint
64
_t
i_timescale
;
/* time scale for this track only */
uint
32
_t
i_timescale
;
/* time scale for this track only */
uint16_t
current_qid
;
/* Smooth Streaming quality level ID */
/* elst */
...
...
modules/demux/mp4/mp4.c
View file @
7905fe6a
...
...
@@ -72,7 +72,7 @@ struct demux_sys_t
uint64_t
i_time
;
/* time position of the presentation
* in movie timescale */
uint
64
_t
i_timescale
;
/* movie time scale */
uint
32
_t
i_timescale
;
/* movie time scale */
uint64_t
i_duration
;
/* movie duration */
unsigned
int
i_tracks
;
/* number of tracks */
mp4_track_t
*
track
;
/* array of track */
...
...
@@ -2086,7 +2086,7 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
MP4_Box_data_sample_soun_t
*
p_soun
=
p_sample
->
data
.
p_sample_soun
;
msg_Warn
(
p_demux
,
"i_timescale (%"
PRI
u64
") != i_sampleratehi "
msg_Warn
(
p_demux
,
"i_timescale (%"
PRI
d32
") != i_sampleratehi "
"(%u), making both equal (report any problem)."
,
p_track
->
i_timescale
,
p_soun
->
i_sampleratehi
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment