Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
57865a97
Commit
57865a97
authored
Apr 20, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mpeg: put timestamp trace av_logs under FF_DEBUG_TS
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
d4cf3779
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
mpeg.c
libavformat/mpeg.c
+7
-3
No files found.
libavformat/mpeg.c
View file @
57865a97
...
...
@@ -625,6 +625,8 @@ found:
pkt
->
dts
=
dts
;
pkt
->
pos
=
dummy_pos
;
pkt
->
stream_index
=
st
->
index
;
if
(
s
->
debug
&
FF_FDEBUG_TS
)
av_log
(
s
,
AV_LOG_TRACE
,
"%d: pts=%0.3f dts=%0.3f size=%d
\n
"
,
pkt
->
stream_index
,
pkt
->
pts
/
90000
.
0
,
pkt
->
dts
/
90000
.
0
,
pkt
->
size
);
...
...
@@ -645,6 +647,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
for
(;;)
{
len
=
mpegps_read_pes_header
(
s
,
&
pos
,
&
startcode
,
&
pts
,
&
dts
);
if
(
len
<
0
)
{
if
(
s
->
debug
&
FF_FDEBUG_TS
)
av_log
(
s
,
AV_LOG_TRACE
,
"none (ret=%d)
\n
"
,
len
);
return
AV_NOPTS_VALUE
;
}
...
...
@@ -654,6 +657,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
}
avio_skip
(
s
->
pb
,
len
);
}
if
(
s
->
debug
&
FF_FDEBUG_TS
)
av_log
(
s
,
AV_LOG_TRACE
,
"pos=0x%"
PRIx64
" dts=0x%"
PRIx64
" %0.3f
\n
"
,
pos
,
dts
,
dts
/
90000
.
0
);
*
ppos
=
pos
;
...
...
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