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
cea54034
Commit
cea54034
authored
Oct 21, 2014
by
François Cartegnie
🤞
Browse files
demux: mp4: ifdef fragment debug info
parent
cc356c39
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/mp4.c
View file @
cea54034
...
...
@@ -873,14 +873,21 @@ static int Open( vlc_object_t * p_this )
}
}
#ifdef MP4_VERBOSE
mtime_t
i_total_duration
=
0
;
mp4_fragment_t
*
p_fragment
=
&
p_sys
->
moovfragment
;
while
(
p_fragment
)
{
msg_Dbg
(
p_demux
,
"fragment offset %"
PRId64
", data %"
PRIu64
"<->%"
PRIu64
", duration %"
PRId64
,
if
(
p_fragment
!=
&
p_sys
->
moovfragment
||
p_fragment
->
i_chunk_range_max_offset
)
i_total_duration
+=
CLOCK_FREQ
*
p_fragment
->
i_duration
/
p_sys
->
i_timescale
;
msg_Dbg
(
p_demux
,
"fragment offset %"
PRId64
", data %"
PRIu64
"<->%"
PRIu64
", "
"duration %"
PRId64
" @%"
PRId64
,
p_fragment
->
p_moox
->
i_pos
,
p_fragment
->
i_chunk_range_min_offset
,
p_fragment
->
i_chunk_range_max_offset
,
CLOCK_FREQ
*
p_fragment
->
i_duration
/
p_sys
->
i_timescale
);
p_fragment
->
i_chunk_range_max_offset
,
CLOCK_FREQ
*
p_fragment
->
i_duration
/
p_sys
->
i_timescale
,
i_total_duration
);
p_fragment
=
p_fragment
->
p_next
;
}
#endif
/* */
LoadChapter
(
p_demux
);
...
...
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